im new to ubuntu how do i install apps ?

alfa147x

Lifer
Jul 14, 2005
29,307
106
106
im new to ubuntu how do i install apps ?

im trying to install FireFox .

Thanks
 

alfa147x

Lifer
Jul 14, 2005
29,307
106
106
twesh@ubuntu:~$ apt-get
apt 0.6.40.1ubuntu9 for linux i386 compiled on Oct 5 2005 13:40:08
Usage: apt-get [options] command
apt-get [options] install|remove pkg1 [pkg2 ...]
apt-get [options] source pkg1 [pkg2 ...]

apt-get is a simple command line interface for downloading and
installing packages. The most frequently used commands are update
and install.

Commands:
update - Retrieve new lists of packages
upgrade - Perform an upgrade
install - Install new packages (pkg is libc6 not libc6.deb)
remove - Remove packages
source - Download source archives
build-dep - Configure build-dependencies for source packages
dist-upgrade - Distribution upgrade, see apt-get(8)
dselect-upgrade - Follow dselect selections
clean - Erase downloaded archive files
autoclean - Erase old downloaded archive files
check - Verify that there are no broken dependencies

Options:
-h This help text.
-q Loggable output - no progress indicator
-qq No output except for errors
-d Download only - do NOT install or unpack archives
-s No-act. Perform ordering simulation
-y Assume Yes to all queries and do not prompt
-f Attempt to continue if the integrity check fails
-m Attempt to continue if archives are unlocatable
-u Show a list of upgraded packages as well
-b Build the source package after fetching it
-V Show verbose version numbers
-c=? Read this configuration file
-o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp
See the apt-get(8), sources.list(5) and apt.conf(5) manual
pages for more information and options.
This APT has Super Cow Powers.
twesh@ubuntu:~$ apt-get install
E: Could not open lock file /var/lib/apt/lists/lock - open (13 Permission denied)
E: Unable to lock the list directory
twesh@ubuntu:~$ apt-get install /home/twesh/Desktop/install_flash_player_7_linux.tar.gz
E: Could not open lock file /var/lib/apt/lists/lock - open (13 Permission denied)
E: Unable to lock the list directory
twesh@ubuntu:~$ apt-get install firefox
E: Could not open lock file /var/lib/apt/lists/lock - open (13 Permission denied)
E: Unable to lock the list directory
 

alfa147x

Lifer
Jul 14, 2005
29,307
106
106
E: Could not open lock file /var/lib/apt/lists/lock - open (13 Permission denied)
E: Unable to lock the list directory
twesh@ubuntu:~$ apt-get install /home/twesh/Desktop/install_flash_player_7_linux.tar.gz
E: Could not open lock file /var/lib/apt/lists/lock - open (13 Permission denied)
E: Unable to lock the list directory
twesh@ubuntu:~$ apt-get install firefox
E: Could not open lock file /var/lib/apt/lists/lock - open (13 Permission denied)
E: Unable to lock the list directory
twesh@ubuntu:~$
 

alfa147x

Lifer
Jul 14, 2005
29,307
106
106

su: Authentication failure
Sorry.
twesh@ubuntu:~$
twesh@ubuntu:~$ su
Password:
su: Authentication failure
Sorry.
twesh@ubuntu:~$ su
Password:
su: Authentication failure
Sorry.
twesh@ubuntu:~$ twesh
bash: twesh: command not found
twesh@ubuntu:~$ su twesh
Password:
twesh@ubuntu:~$ apt-get
 

alfa147x

Lifer
Jul 14, 2005
29,307
106
106
twesh@ubuntu:~$ apt-get
apt 0.6.40.1ubuntu9 for linux i386 compiled on Oct 5 2005 13:40:08
Usage: apt-get [options] command
apt-get [options] install|remove pkg1 [pkg2 ...]
apt-get [options] source pkg1 [pkg2 ...]

apt-get is a simple command line interface for downloading and
installing packages. The most frequently used commands are update
and install.

Commands:
update - Retrieve new lists of packages
upgrade - Perform an upgrade
install - Install new packages (pkg is libc6 not libc6.deb)
remove - Remove packages
source - Download source archives
build-dep - Configure build-dependencies for source packages
dist-upgrade - Distribution upgrade, see apt-get(8)
dselect-upgrade - Follow dselect selections
clean - Erase downloaded archive files
autoclean - Erase old downloaded archive files
check - Verify that there are no broken dependencies

Options:
-h This help text.
-q Loggable output - no progress indicator
-qq No output except for errors
-d Download only - do NOT install or unpack archives
-s No-act. Perform ordering simulation
-y Assume Yes to all queries and do not prompt
-f Attempt to continue if the integrity check fails
-m Attempt to continue if archives are unlocatable
-u Show a list of upgraded packages as well
-b Build the source package after fetching it
-V Show verbose version numbers
-c=? Read this configuration file
-o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp
See the apt-get(8), sources.list(5) and apt.conf(5) manual
pages for more information and options.
This APT has Super Cow Powers.
twesh@ubuntu:~$ /home/twesh/Desktop/install_flash_player_7_linux.tar.gz
bash: /home/twesh/Desktop/install_flash_player_7_linux.tar.gz: Permission denied
twesh@ubuntu:~$






just so you know, the user name i entered above is the one i entered in while installing
 

cleverhandle

Diamond Member
Dec 17, 2001
3,566
3
81
Originally posted by: alfa147x
twesh@ubuntu:~$ su
Password:
su: Authentication failure
Sorry.
You're not entering the correct password. Sometime during the install, it asked you for a root, or adminstrative, password. That's what you need to enter here.

 

nweaver

Diamond Member
Jan 21, 2001
6,813
1
0
not ubuntu...try "sudo apt-get install mozilla-firefox"

then it will prompt you for YOUR password, and install.

you should probably just do "sudo apt-get update && sudo apt-get update" and it will install all the latest packages on your system, including the latest version of firefox in the repository.
 

nweaver

Diamond Member
Jan 21, 2001
6,813
1
0
also, look at synaptic (in one of the menus) for a GUI frontend to the apt tools.
 

cleverhandle

Diamond Member
Dec 17, 2001
3,566
3
81
Originally posted by: nweaver
not ubuntu...try "sudo apt-get install mozilla-firefox"
Ubuntu doesn't use a root password? Wacky...

Sorry, alfa, I was assuming Ubuntu handled root the way everything else does. My bad...

 

alfa147x

Lifer
Jul 14, 2005
29,307
106
106
twesh@ubuntu:~$ sudo apt-get install mozilla-firefox
Password:
Reading package lists... Done
Building dependency tree... Done
Note, selecting firefox instead of mozilla-firefox
firefox is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
twesh@ubuntu:~$


but im still running 1.0.7

 

alfa147x

Lifer
Jul 14, 2005
29,307
106
106
twesh@ubuntu:~$ sudo apt-get update && sudo apt-get update
Reading package lists... Done
Reading package lists... Done
twesh@ubuntu:~$

 

nweaver

Diamond Member
Jan 21, 2001
6,813
1
0
Ubuntu, by default, does not have a root password. This is to prevent inadvertant running stuff as root. using Ubuntu is what made me realize the value of sudo as opposed to su
 

sourceninja

Diamond Member
Mar 8, 2005
8,805
65
91
yea you have to use sudo because the root account is disabled so there is no way of knowing the root password (although you can emulate su with sudo -i)

Synaptic is the perfered way of course of installing apps.

On a side note, I've always been told you should use aptitude install and not apt-get install. I've alwyas done it that way using aptitude and not apt-get.

You wil find you have to use a lot of 3rd party repositorys and odd hacks to get a lot of things working in ubuntu. I did an install of kubuntu last night and spent a good hour just trying to get flash to work in konqueror. After that it was nice and fun to get codecs working. Ubuntu is nice and easy if you just want to use ubuntu. It gets complicated if you want to persuse it beyond what they offer. After my experiance last night (I havn't used ubuntu sense its first release). I'm no longer recomending it to new users. I would rather they run straight debian (which is a lot easier to use imho) or fedora core.
 

alfa147x

Lifer
Jul 14, 2005
29,307
106
106
twesh@ubuntu:~$ wget http://beerorkid.com/automatix/automatix_5.4-3_i386.deb
--20:49:02-- http://beerorkid.com/automatix/automatix_5.4-3_i386.deb
=> `automatix_5.4-3_i386.deb'
Resolving beerorkid.com... 208.97.133.175
Connecting to beerorkid.com|208.97.133.175|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 39,580 (39K) [text/plain]

100%[====================================>] 39,580 39.52K/s

20:49:08 (39.43 KB/s) - `automatix_5.4-3_i386.deb' saved [39580/39580]






wait what just happend?
 

alfa147x

Lifer
Jul 14, 2005
29,307
106
106
after that i hit enter then this came :



twesh@ubuntu:~$ sudo dpkg -i automatix_5.4-2_i386.deb
dpkg: error processing automatix_5.4-2_i386.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
automatix_5.4-2_i386.deb


:( ?
 

alfa147x

Lifer
Jul 14, 2005
29,307
106
106
Originally posted by: Fish11
Originally posted by: alfa147x
how do i use synaptic ?

Here's a couple links that may be of help to learn.

http://easylinux.info/wiki/Ubuntu



hahahah.. i feel so stupid, well i was supos to insert each line SEPERATLY

example:
sudo apt-get install xfonts-intl-arabic
sudo apt-get install xfonts-intl-asian
sudo apt-get install xfonts-intl-chinese
sudo apt-get install xfonts-intl-chinese-big
sudo apt-get install xfonts-intl-european
sudo apt-get install xfonts-intl-japanese
sudo apt-get install xfonts-intl-japanese-big
sudo apt-get install xfonts-intl-phonetic
sudo apt-get install gsfonts-x11
sudo apt-get install msttcorefonts
sudo fc-cache -f -v

iwould put in all at once

im so stupid!! ;)

Thanks
 

alfa147x

Lifer
Jul 14, 2005
29,307
106
106
Originally posted by: WIKI

How to install Vulnerability Scanner (Nessus)

* Read #General Notes
* Read #How to add extra repositories

sudo apt-get install nessus
sudo apt-get install nessusd
sudo nessus-adduser
sudo ln -fs /etc/init.d/nessusd /etc/rc2.d/S20nessusd
sudo /etc/init.d/nessusd start
sudo gedit /usr/share/applications/Nessus.desktop

* Insert the following lines into the new file

[Desktop Entry]
Name=Nessus
Comment=Nessus
Exec=nessus
Icon=/usr/share/pixmaps/nessus.xpm
Terminal=false
Type=Application
Categories=Application;System;

* Save the edited file
* Read #How to refresh GNOME panel
* Applications -> System Tools -> Nessus
:( ?




how do i do this ?

B]* Insert the following lines into the new file [/b]

 

SleepWalkerX

Platinum Member
Jun 29, 2004
2,649
0
0
Originally posted by: alfa147x
after that i hit enter then this came :



twesh@ubuntu:~$ sudo dpkg -i automatix_5.4-2_i386.deb
dpkg: error processing automatix_5.4-2_i386.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
automatix_5.4-2_i386.deb


:( ?

It looks like you misspelled it.
 

SleepWalkerX

Platinum Member
Jun 29, 2004
2,649
0
0
Originally posted by: alfa147x
Originally posted by: Fish11
Originally posted by: alfa147x
how do i use synaptic ?

Here's a couple links that may be of help to learn.

http://easylinux.info/wiki/Ubuntu



hahahah.. i feel so stupid, well i was supos to insert each line SEPERATLY

example:
sudo apt-get install xfonts-intl-arabic
sudo apt-get install xfonts-intl-asian
sudo apt-get install xfonts-intl-chinese
sudo apt-get install xfonts-intl-chinese-big
sudo apt-get install xfonts-intl-european
sudo apt-get install xfonts-intl-japanese
sudo apt-get install xfonts-intl-japanese-big
sudo apt-get install xfonts-intl-phonetic
sudo apt-get install gsfonts-x11
sudo apt-get install msttcorefonts
sudo fc-cache -f -v

iwould put in all at once

im so stupid!! ;)

Thanks

Or you could just do

sudo apt-get install xfonts-intl-arabic xfonts-intl-asian xfonts-intl-chinese ... etc

and it'll install all the packages you list.
 

SleepWalkerX

Platinum Member
Jun 29, 2004
2,649
0
0
Originally posted by: alfa147x
Originally posted by: WIKI

How to install Vulnerability Scanner (Nessus)

* Read #General Notes
* Read #How to add extra repositories

sudo apt-get install nessus
sudo apt-get install nessusd
sudo nessus-adduser
sudo ln -fs /etc/init.d/nessusd /etc/rc2.d/S20nessusd
sudo /etc/init.d/nessusd start
sudo gedit /usr/share/applications/Nessus.desktop

* Insert the following lines into the new file

[Desktop Entry]
Name=Nessus
Comment=Nessus
Exec=nessus
Icon=/usr/share/pixmaps/nessus.xpm
Terminal=false
Type=Application
Categories=Application;System;

* Save the edited file
* Read #How to refresh GNOME panel
* Applications -> System Tools -> Nessus
:( ?



how do i do this ?

B]* Insert the following lines into the new file [/b]

Once you type

sudo gedit /usr/share/applications/Nessus.desktop

it'll open a text editor. Then just copy the following,

[Desktop Entry]
Name=Nessus
Comment=Nessus
Exec=nessus
Icon=/usr/share/pixmaps/nessus.xpm
Terminal=false
Type=Application
Categories=Application;System;

paste it in the document, and save it.