Removing apps/running new apps/shortcuts?


9 posts
by peanutismint » Fri Dec 21, 2012 2:06 am
Very new to Debian/Raspbian but have managed to install some apps (VLC, XBMC, etc).

A couple of Qs:

My Wheezy install of Raspbian apparently came bundled with some apps I probably don't need, like Scratch (a games maker??). How do I go about removing apps like this? Where are they located in my filesystem? Can I just delete the folder or is there a removal process via terminal etc??

Secondly, I've installed these apps (via command prompt via SSH) and now would like to run them under Raspbian - where would I find them? Can I create 'shortcuts' to the apps on my desktop like I would under Windows/Mac?

Sorry if these are really simple questions! :)
Posts: 35
Joined: Thu Nov 22, 2012 7:14 pm
by The Ardent Serpent » Sun Dec 23, 2012 10:39 pm
Regarding Scratch, enter the following into the Linux terminal:

Code: Select all
sudo apt-get autoremove scratch
User avatar
Posts: 11
Joined: Fri Nov 23, 2012 7:14 pm
Location: The Grid
by peanutismint » Mon Dec 24, 2012 3:16 pm
Amazing, thanks! I guess that'll work with any apps I want to remove??
Posts: 35
Joined: Thu Nov 22, 2012 7:14 pm
by ghans » Mon Dec 24, 2012 3:26 pm
Yes , google "debian package mangment"
apt is a quite useful tool.

ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org
Posts: 3914
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany
by peanutismint » Mon Dec 24, 2012 3:30 pm
Cool, will check it out, thanks! :)
Posts: 35
Joined: Thu Nov 22, 2012 7:14 pm
by Unhban » Tue Dec 25, 2012 12:15 pm
peanutismint wrote:Secondly, I've installed these apps (via command prompt via SSH) and now would like to run them under Raspbian - where would I find them? Can I create 'shortcuts' to the apps on my desktop like I would under Windows/Mac?

I'm not an expert at this so am fumbling too, but I'll tell you what I know!

I too use a command line via SSH from my PC. One useful app is Midnight Commander, known as mc, which is a file manager.
Code: Select all
sudo apt-get install mc

To run it from a command line just type
Code: Select all
sudo mc

It will come up in your /home/pi directory. This is where *some* of your apps will be installed, but others in seemingly secret places.... But typing the name of the app on the command line will usually run it.

To put an app on your desktop with an icon and its name below it, you have to create a file in the /home/pi/Desktop directory. I made one recently for Chromium. This is what I did. From the command line I went into the /Desktop directory using
Code: Select all
cd Desktop

Note that upper and lower case matters!
I then used the nano text editor to create a file called chromium.desktop
Code: Select all
sudo nano chromium.desktop

In this file I then entered the following (from googling, I didn't make it up off the top of my head!) :lol:
Code: Select all
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Exec=chromium -disable-ipv6 %f
Icon=/home/pi/google.png
Terminal=false
Name=Chromium

I presume the Exec line for other apps need just have the name, and the system will find it, somewhere! Now you know all I do about this! Save this file by doing a CTRL-X in nano. Then reboot. Then fingers crossed.

sudo apt-get is useful for a few things, try
Code: Select all
sudo apt-get update
sudo apt-get upgrade

every few days.

Code: Select all
df -k

is useful too.

Hope this helps!

Unh.
Posts: 53
Joined: Sun Oct 14, 2012 10:58 am
by peanutismint » Tue Dec 25, 2012 12:33 pm
That's absolutely fantastic! Thanks for taking the time to explain all that. Will give it a go! :-)
Posts: 35
Joined: Thu Nov 22, 2012 7:14 pm
by chrisw2 » Fri Dec 28, 2012 8:23 pm
@peanutismint - you might also want to look at "synaptic" a very nice GUI frontend to apt.

to install it:
1) sudo apt-get update
2) sudo apt-get install synaptic

to run it from system menu:
system-->Synaptic Package Manager

to run it from terminal prompt:
sudo synaptic

If you do decide to use it: remember to get in the habit of clicking the <Reload> button (top left) to bring your package lists up-to-date before installing anything
Posts: 106
Joined: Sat Apr 07, 2012 11:22 am
Location: Manchester, UK
by peanutismint » Sat Dec 29, 2012 9:10 pm
Fantastic! I like GUIs...... much more intuitive for a noob like me! :)

Thanks!
Posts: 35
Joined: Thu Nov 22, 2012 7:14 pm