Downloaded App.. Now what?
Im New to linux, and im currently using Ubunto. Im finding it very difficult to get to grips with how Installing programes works, and the diffrent file extenshions with applications.
When i download a program, Does it have to be installed like applications do on windows? And how do i install them? is this process diffrent with diffrent file extenshions? When i open the files i download all i get is the diffrent files within a folder, and when i click on the diffrent files i get a load of gobaldy gook up! Please Help! |
Install files using the apt tool. You can check more info about it with "man apt-get".
To update repositery: apt-get update To install program: apt-get install firefox Check this link for APT. |
http://www.ubuntuforums.org/
and no, you don't need to download and then get stuck. The package manager is the place to focus, your start menu should have adept in there, I posted the command to install synaptic in your other post (I even stuck to synaptic when I changed from Kubuntu to Kanotix). You just select the package you want to install and hit OK/install etc (you might have to put your password in though), the main system of the package manager (apt) knows where to install the package, and whether it needs any dependant packages to be installed etc etc. It's gonna take you a bit of time to get used to ubuntu (well, linux in general), cos it's mega different from windows - well how all the guts of it work anyway. If you only just moved over from windows, you may feel more comfortable with the KDE desktop Code:
sudo apt-get install kde ttfn John |
Yes it does depend on the package type.
tar.gz files Code:
tar -zxvf <filename> Code:
tar -jxvf <filename> Code:
install pkg <filename> Code:
rpm -Uvh <filename> Since you are using Ubuntu I would look at using apt-get. http://ubuntuguide.org/wiki/Dapper This should also help you out. |
Way back in the day, most installation was done by hand compiling each program. However, the Modern distros in use today have 'package managers' that will do the work for you; a program such as apt-get will fetch the installation files it needs, fetch the packages the program you're installing need for installation, and install it for you.
And if you want to do it graphically, you can use Synaptic for the same thing. It's somewhere in your menus, I use Kubuntu so I wouldn't know. Edit: I was way late, but I'll leave my post in in case it isn't too redundant. |
first i tried the apt-get update command and i got this
Code:
toby@linuxlap:~$ apt-get update Code:
toby@linuxlap:~$ apt-get install nmap edit - i have successfully set up and am now running the synaptic package manager. im trying to find a way to point the program to open/install the .rpm files i downloaded, but for some reason i can not. it only seems to be a list of available applications that i can download and install. The file type that i am tyring to isntall is RPM, i dont know if this is going to make much diffrence? When i try and extract this RPM file, it says that archive manager does not support this file type. Thank you for all the help so far, you have all been very helpfull! :) |
You have to be root in order to run any apt commands
Try typing sudo apt-get update Ubunut is based on Debian which uses .deb file NOT rpms |
When you say i have to be "root" in order to run apt commands, does that mean that you have to be logged in as a user called "root" or you have to be in the /root directory?
If im running Ubuntu, does this mean that i am unable to run or use .RPM files full stop, and only able to install .dep packages? As most of the file extenshions i have seen are .rpm I did download a .dep vershion of it, even though it is an older vershion of the program, but i also had problems doing this. i am unable to report exactly what problem i got when running that as i currently in college. thank you, Toby :) |
Quote:
Quote:
|
Sorry to be a pain, but im still struggaling, but im begining to understand how it works now.
I tried Code:
sudo apt-get install nmap Does this command search online for the file name? or does it search your computer? also do you have to put the full file name of it in, or just the first several charicters? is there any way to enter the dir that the package i want to install is in? I have both a .rpm and a .deb file of the same applicaton, but i cant get either to install for me. Also i put "sudo apt-get install Alien" in to try and see if i could get hold of that program that was stated above to convert .rpm to .deb files, but it said the same error. Sorry to be a pain, and please help :) |
linux is case sensistive. if you typed sudo apt-get install Alien, it won't work. i typed sudo apt-get install alien and did my password and it installed clean. you also may need to add some repositories. check this link:
http://www.linuxtopia.org/online_boo...uide/ch02.html it's an easy setup to do and should solve some if not most of your install problems. i had the same issue awhile back until i did the repositories. now all is fine. good luck. |
You really need to take the time to read the documentation available.
Chapter 2. Adding, Removing and Updating Applications https://help.ubuntu.com/ubuntu/deskt...lications.html APT HOWTO http://www.debian.org/doc/manuals/ap....html#contents "Unofficial Ubuntu 6.06 (Dapper Drake) Linux Starter Guide" http://easylinux.info/wiki/Ubuntu_dapper Linux package formats - Wikipedia, the free encyclopedia http://en.wikipedia.org/wiki/Linux_package_formats The Debian GNU/Linux FAQ - Basics of the Debian package management system http://www.debian.org/doc/FAQ/ch-pkg_basics Try to stick to using APT/Synaptic/Adept when you can. Ubuntu like Debian comes with over 15k packages. RPM packages will NOT work although you can try to convert a rpm to a deb file using "alien". Also I wouldn't suggest mixing Ubuntu and Debian packages if you can help it, otherwise you will run into problems. |
All times are GMT -5. The time now is 06:54 AM. |