UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm currently on Kubuntu. I tried to install software like skype and firefox using apt-get. But the terminal always replies couldn't find the package. And I've downloaded the deb file, but it doesn't work when I double-click on it. Anybody can help me?
Skype is available to the *buntus from the Medibuntu Repository. You should add this repository. Have a look at https://help.ubuntu.com/community/Me...20Repositories for installing. Note that it has a GPG key. There are therefore two steps - the sudo wget http://www.medibuntu.org etc AND the sudo apt-get update && sudo apt-get install medibuntu-keyring etc step.
Firefox should, however, be easily available. Have you tried connecting to the internet, opening Konsole Terminal Program and inputting:
You should set up an FTP/HTTP/CD/DVD repository in the file
/etc/apt/sources.list
and then do an
Code:
sudo apt-get update
After that, you should be able to install any software with just
Code:
sudo apt-get install program
which will also download and install the dependencies correctly.
That's the correct way to use apt-get.
Otherwise you can install locally downloaded packages using dpkg directly as explained above.
That's the way to go (apt-get install) if you know the exact package name. If you don't, but do know word(s) that might be in the package name/description, try
Code:
apt-cache search keyword
for example
Code:
apt-cache search firefox
returns a lot of packages that may or may not be what you're looking for; pipe the output to grep and you can further narrow down your search. When you find what you're looking for, use the install command.
Manually downloaded .deb packages can be installed using
Code:
dpkg -i packagename.deb
from command line, or (usually) by simply opening them in your favourite file manager -- double-click or click once depending on how you've set up opening files. This should bring on the graphical user interface to a program that installs deb packages -- if not, use dpkg on command line.
Easiest way of course, if you don't know exactly what you're looking for, is to use the graphical front-end to apt if one is available -- for example Synaptic on Ubuntu or Adept on Kubuntu (found at the menu). Remember to refresh package lists first when the program opens, then search for a package, mark it (or them) to be installed and apply your changes.
That's the way to go (apt-get install) if you know the exact package name. If you don't, but do know word(s) that might be in the package name/description, try
Code:
apt-cache search keyword
for example
Code:
apt-cache search firefox
returns a lot of packages that may or may not be what you're looking for; pipe the output to grep and you can further narrow down your search. When you find what you're looking for, use the install command.
Manually downloaded .deb packages can be installed using
Code:
dpkg -i packagename.deb
from command line, or (usually) by simply opening them in your favourite file manager -- double-click or click once depending on how you've set up opening files. This should bring on the graphical user interface to a program that installs deb packages -- if not, use dpkg on command line.
Easiest way of course, if you don't know exactly what you're looking for, is to use the graphical front-end to apt if one is available -- for example Synaptic on Ubuntu or Adept on Kubuntu (found at the menu). Remember to refresh package lists first when the program opens, then search for a package, mark it (or them) to be installed and apply your changes.
Thanks, guys. Now I know how to use apt-get, and it works pretty well.
I think the problem was I had changed the sources.list, but I didn't updated it afterwards.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.