Apps Kubuntu Mini How To

Install and search for packages with apt

“Mini How To” Install and search for packages with apt.

Looking for how to install packages bij the “point and click” method click here.

Let’s say you wanna install a package but you don’t know for sure if it’s in the repository’s.  Then you can use this Terminal command to do so:

We’ll search for firefox as an example.

apt-cache search firefox

As you can see this displays a list of all packages related to Firefox.

Now let’s install Firefox:

Here we have to use sudo or apt won’t work and tell you:

E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

so let’s install:

sudo apt-get install firefox

Put your password in and answer yes to any questions.
And start using Firefox.

You could start Firefox from the Terminal( for debugging purposes) like this:


Or maybe you don’t want the debugging info add a space an &

firefox &

You can find Firefox under the start menu start->internet->Firefox
That’s it for this “Mini How To”.

Comments are closed.

Powered by: Wordpress