PDA

View Full Version : [ubuntu] adding a package



dtommy79
July 5th, 2008, 09:21 AM
Hi,

How can I add a package to ubuntu?
I mean my computer where the linux resides isn't connected to the internet. if I download a programe from another computer where doI have to copy the package on ubuntu and how to install it?

Thanks

Nikitas350
July 5th, 2008, 09:27 AM
If it is a .deb double click it and theν click install. (You can download ubuntu packages from packages.ubuntu.com)

iaculallad
July 5th, 2008, 09:32 AM
Or doing the Terminal way of installing DEB files:

Change directory to the package location and perform the following command:


sudo dpkg -i package_name.deb

To Remove the package:


sudo dpkg -r package_name.deb

dtommy79
July 5th, 2008, 09:44 AM
Thank you guys