LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-20-2005, 12:54 PM   #1
meeep
LQ Newbie
 
Registered: Aug 2005
Posts: 27

Rep: Reputation: 15
beginner needs various help.


hi.

I just installed ubuntu with little(read : none) previous knowledge whatsoever about linux, thought it would be quite fun to learn som stuff instead of sittin in the same old win xp theme...

so, here are a couple od questions so far:

1. i installed the latest java viewing it by the terminal, which closed down after a while. now i have a map with java in my homemap, but when i try java -version in the terminal, it says bash: java: command not found. well, is it installed or not? :S

2. i cant get azureus to work, i downloaded the tar.bz2 and extracted it, did as the readme told me to, to start the file "azureus" and well, nothing happens. at all :/

3. I have some(quite a few) disks with ntfs containing lots of stuff id like to copy to the disk i have now, and then format them so i can use them both to write and read with linux.
a) how do i mount them? its hda1, hda2, hda5, sda1 and sda2 i would like to mount.
b) how do i format my discs?
c) how large files will the file system work with? (ie fat 32 supports up to 2 GB)

im sorry if i havent given all the info you will need, but i tried my best. sorry for my not-so-splendid english.
 
Old 08-20-2005, 01:11 PM   #2
Vgui
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware
Posts: 496

Rep: Reputation: 31
First, I recommend you do lots of reading (of course), since learning new concepts is a core idea of Linux.

1)
Make sure that your .bashrc file (in your home directory) has Java in the path. Below is a few lines extracted from mine which may help you:
Code:
        export JAVA_HOME=/usr/share/java/jdk1.5.0
        export PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin:$JAVA_HOME/bin
This has been talked about many times, so again
2)
Azureus will not work until Java is working. You can always try other bit torrent clients (the official one, ctorrent, etc.)
3)
a) man mount, then read up. Mount is a fairly commonly used command, so get used to it.
b) I recommend cfdisk
c) *shrugs*
I personally have my Windows XP partition as NTFS, then a seperate "bridge" partition as FAT32 (around 5gb total). That way I can transfer things back and forth. You might also look into having Windows read your Linux side, there are tools for reading ext2 / ext3, etc.

Good luck!
 
Old 08-20-2005, 01:15 PM   #3
meeep
LQ Newbie
 
Registered: Aug 2005
Posts: 27

Original Poster
Rep: Reputation: 15
thx for answer, of course, im prepared to do my study, tho, im having a hard time finding manuals and guides.
would anyone be willing to direct me to a good beginners guide where i could read about the most basics?
would really appreciate that!
thx again
 
Old 08-20-2005, 01:19 PM   #4
Vgui
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware
Posts: 496

Rep: Reputation: 31
http://www.tldp.org/
Basically has tons of howtos and the like.
Besides reading, experimenting with your system is important. I personally have botched my system 6 or 7 times, all resulting in new learning experiences ("Oh, so binutils is important!" ).
Normally if you Google well you can find articles or howtos related to the subject you are trying to solve.
I heard a good recommendation once from someone who was learning Linux. They said each week they would try to learn to do something new with Linux. It might be something relatively simple, like playing .avi movies, or it could be some complex bash scripting problem. Then keep notes of everything you learn, so you can go back and remember if needed.
I'm sure you'll do fine with Linux though, all it takes is time.
 
Old 08-20-2005, 02:01 PM   #5
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775

Rep: Reputation: 86
It's so much easier than everything you've been doing. Thank God for the Ubuntu Guide:

http://ubuntuguide.org/#extrarepositories
http://ubuntuguide.org/#jre
http://ubuntuguide.org/#azureus
http://ubuntuguide.org/#automountfat

Just follow those directions on that order, and you'll be fine. Of course, you'll have to change NTFS to FAT before you can read from/write to it successfully. Linux can do read-only on NTFS.
 
Old 08-20-2005, 02:11 PM   #6
meeep
LQ Newbie
 
Registered: Aug 2005
Posts: 27

Original Poster
Rep: Reputation: 15
Ive tried those, but the packages cant be found, none of them :/
 
Old 08-20-2005, 02:28 PM   #7
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775

Rep: Reputation: 86
Quote:
Originally posted by meeep
Ive tried those, but the packages cant be found, none of them :/
I'm sorry, but I just don't believe you. I'm using Ubuntu right now, and I installed those very same packages using Synaptic/apt-get.

Here's a shot of my Synaptic, after doing a search for "Azureus":

http://i22.photobucket.com/albums/b3...s/7031e6ba.png

The problem is you probably didn't go to the first link to enable extra repositories. Java and Azureus live in the extra repositories, not the default Ubuntu repositories that come with a fresh install.

Go to all of the links I gave you above in that exact order and follow those instructions word-for-word. You can even copy and paste the commands directly into your terminal.

Last edited by aysiu; 08-20-2005 at 02:32 PM.
 
Old 08-20-2005, 02:31 PM   #8
meeep
LQ Newbie
 
Registered: Aug 2005
Posts: 27

Original Poster
Rep: Reputation: 15
it's far from impossible that i did wrong, but ok, so here's what im doing :

i do all things, open the sources.list and replace everything(even tried copy the whole sample), and then saved, and updated.
then i try to install java, and it says it cant find the packages. is there anything there im doing wrong?

@ moi.
 
Old 08-20-2005, 02:33 PM   #9
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775

Rep: Reputation: 86
Quote:
Originally posted by meeep
it's far from impossible that i did wrong, but ok, so here's what im doing :

i do all things, open the sources.list and replace everything(even tried copy the whole sample), and then saved, and updated.
then i try to install java, and it says it cant find the packages. is there anything there im doing wrong?

@ moi.
Before you searched for Java, did you do step 6 of enabling extra repositories?

sudo apt-get update
 
Old 08-20-2005, 02:40 PM   #10
meeep
LQ Newbie
 
Registered: Aug 2005
Posts: 27

Original Poster
Rep: Reputation: 15
ok, so this is EXACTLY what im doing(trying again, really want this to work!)

1. in terminal:
sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
sudo gedit /etc/apt/sources.list

i take the sample which is included beneath the code. paste it over the original sources.list

press "save" and exit.

in terminal:
sudo apt-get update (some errors shows up here, normal?)

2.

in terminal:
sudo apt-get install sun-j2re1.5

E: Kunde inte hitta paketet sun-j2re1.5 (translation : E: couldn+t find the package sun...)

so, what here am i doing wrong?
 
Old 08-20-2005, 02:48 PM   #11
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775

Rep: Reputation: 86
Quote:
Originally posted by meeep
in terminal:
sudo apt-get update (some errors shows up here, normal?)
What errors show up?
 
Old 08-20-2005, 02:53 PM   #12
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775

Rep: Reputation: 86
By the way, this is what appears in my terminal when I type

sudo apt-get update

Ign http://ubuntu-backports.mirrormax.net hoary-backports Release.gpg
Ign http://ubuntu-backports.mirrormax.net hoary-extras Release.gpg
Get:1 http://security.ubuntu.com hoary-security Release.gpg [189B]
Get:2 http://us.archive.ubuntu.com hoary Release.gpg [189B]
Get:3 http://us.archive.ubuntu.com hoary-updates Release.gpg [189B]
Ign http://ubuntu-backports.mirrormax.net hoary-backports Release
Ign http://ubuntu-backports.mirrormax.net hoary-extras Release
Get:4 http://security.ubuntu.com hoary-security Release [16.9kB]
Hit http://us.archive.ubuntu.com hoary Release
Ign http://ubuntu-backports.mirrormax.net hoary-backports/main Packages
Ign http://ubuntu-backports.mirrormax.net hoary-backports/universe Packages
Ign http://ubuntu-backports.mirrormax.net hoary-backports/multiverse Packages
Ign http://ubuntu-backports.mirrormax.net hoary-backports/restricted Packages
Get:5 http://archive.ubuntu.com hoary Release.gpg [189B]
Ign http://ubuntu-backports.mirrormax.net hoary-extras/main Packages
Ign http://ubuntu-backports.mirrormax.net hoary-extras/universe Packages
Ign http://ubuntu-backports.mirrormax.net hoary-extras/multiverse Packages
Ign http://ubuntu-backports.mirrormax.net hoary-extras/restricted Packages
Get:6 http://ubuntu-backports.mirrormax.net hoary-backports/main Packages [30.3kB]
Get:7 http://us.archive.ubuntu.com hoary-updates Release [16.8kB]
Hit http://archive.ubuntu.com hoary Release
Get:8 http://ubuntu-backports.mirrormax.net hoary-backports/universe Packages [42.2kB]
Hit http://archive.ubuntu.com hoary/multiverse Packages
Hit http://archive.ubuntu.com hoary/multiverse Sources
Hit http://security.ubuntu.com hoary-security/main Packages
Get:9 http://ubuntu-backports.mirrormax.net hoary-backports/multiverse Packages [438B]
Get:10 http://ubuntu-backports.mirrormax.net hoary-backports/restricted Packages [381B]
Get:11 http://ubuntu-backports.mirrormax.net hoary-extras/main Packages [2490B]
Get:12 http://ubuntu-backports.mirrormax.net hoary-extras/universe Packages [2943B]
Hit http://security.ubuntu.com hoary-security/restricted Packages
Hit http://security.ubuntu.com hoary-security/main Sources
Hit http://security.ubuntu.com hoary-security/restricted Sources
Hit http://security.ubuntu.com hoary-security/universe Packages
Hit http://security.ubuntu.com hoary-security/universe Sources
Get:13 http://ubuntu-backports.mirrormax.net hoary-extras/multiverse Packages [33B]
Get:14 http://ubuntu-backports.mirrormax.net hoary-extras/restricted Packages [6122B]
Hit http://us.archive.ubuntu.com hoary/main Packages
Hit http://us.archive.ubuntu.com hoary/restricted Packages
Hit http://us.archive.ubuntu.com hoary/main Sources
Hit http://us.archive.ubuntu.com hoary/restricted Sources
Hit http://us.archive.ubuntu.com hoary/universe Packages
Hit http://us.archive.ubuntu.com hoary/universe Sources
Hit http://us.archive.ubuntu.com hoary-updates/main Packages
Hit http://us.archive.ubuntu.com hoary-updates/restricted Packages
Hit http://us.archive.ubuntu.com hoary-updates/main Sources
Hit http://us.archive.ubuntu.com hoary-updates/restricted Sources
Fetched 119kB in 2s (45.4kB/s)
Reading package lists... Done
 
Old 08-20-2005, 03:00 PM   #13
meeep
LQ Newbie
 
Registered: Aug 2005
Posts: 27

Original Poster
Rep: Reputation: 15
since they're in swedish, i will try to translate them as good as possible:

Misslyckades att hämta cdrom:[Ubuntu 5.04 _Hoary Hedgehog_ - Release i386 (20050407)]/dists/hoary/main/binary-amd64/Packages.gz Använd apt-cdrom för att APT ska känna igen denna cd. apt-get update kan inte användas för att lägga till skivor
Misslyckades att hämta cdrom:[Ubuntu 5.04 _Hoary Hedgehog_ - Release i386 (20050407)]/dists/hoary/restricted/binary-amd64/Packages.gz Använd apt-cdrom för att APT ska känna igen denna cd. apt-get update kan inte användas för att lägga till skivor
Läser paketlistor... Färdig
W: Kunde inte ta status på källkodspaketlistan cdrom://Ubuntu 5.04 _Hoary Hedgehog_ - Release i386 (20050407) hoary/main Packages (/var/lib/apt/lists/Ubuntu%205.04%20%5fHoary%20Hedgehog%5f%20-%20Release%20i386%20(20050407)_dists_hoary_main_binary-amd64_Packages) - stat (2 Filen eller katalogen finns inte)
W: Kunde inte ta status på källkodspaketlistan cdrom://Ubuntu 5.04 _Hoary Hedgehog_ - Release i386 (20050407) hoary/restricted Packages (/var/lib/apt/lists/Ubuntu%205.04%20%5fHoary%20Hedgehog%5f%20-%20Release%20i386%20(20050407)_dists_hoary_restricted_binary-amd64_Packages) - stat (2 Filen eller katalogen finns inte)
W: Du kan möjligen rätta problemet genom att köra "apt-get update"
E: Vissa indexfiler kunde inte hämtas, de har ignorerats eller så har de gamla använts istället.


failed to get cdrom:[Ubuntu 5.04 _Hoary Hedgehog_ - Release i386 (20050407)]/dists/hoary/main/binary-amd64/Packages.gz

couldnt take status on sourcecodepackagelist drom://Ubuntu 5.04 _Hoary Hedgehog_ - Release i386 (20050407) hoary/main Packages (/var/lib/apt/lists/Ubuntu%205.04%20%5fHoary%20Hedgehog%5f%20-%20Release%20i386%20(20050407)_dists_hoary_main_binary-amd64_Packages) - stat (2 the file or catalogue doesn't exist)

that one comes up twice, almost same thing asked for.

E: some indexfiles couldn't be downloaded. they have been ignored or the old one has been used.

ehm, should i be like root or anything?(might be obvious, but as i said before, i dont know NOTHING!) and in that case, what account is root? or is my account root, because i haven't made any other account besides this one im using. so confused
 
Old 08-20-2005, 03:04 PM   #14
meeep
LQ Newbie
 
Registered: Aug 2005
Posts: 27

Original Poster
Rep: Reputation: 15
well, i tried download java from java.sun.com and succesfully installed it(i think) it says done after installation, but i still can't typ java -anything it doesnt finds the command :/

damn, i AM stupid :/ btw, thanx ALOT for all help
 
Old 08-20-2005, 03:06 PM   #15
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775

Rep: Reputation: 86
Quote:
Originally posted by meeep
failed to get cdrom:[Ubuntu 5.04 _Hoary Hedgehog_ - Release i386 (20050407)]/dists/hoary/main/binary-amd64/Packages.gz

that one comes up twice, almost same thing asked for.
That means it's trying to pull from the CD-ROM source. When you copy and paste from the Ubuntu Guide, make sure you paste over all of what was there before. I would recommend, when you're in Gedit, typing Control-A to select all the text, then typing Control-V to paste everything you highlighted.

Quote:
ehm, should i be like root or anything?(might be obvious, but as i said before, i dont know NOTHING!) and in that case, what account is root? or is my account root, because i haven't made any other account besides this one im using. so confused
Ubuntu uses sudo instead of root. For more info:

https://wiki.ubuntu.com/RootSudo?highlight=%28root%29

Can you post your /etc/apt/sources.list--the entire thing?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
which distro is best for a beginner! umer_uzair Linux - Newbie 6 02-02-2005 02:37 AM
Help this beginner weng Linux - Newbie 5 12-20-2003 08:55 AM
Beginner (Help Me!!) Kylejb2663 Linux - Networking 29 05-15-2003 02:00 AM
I am THE beginner please help me :( statuszero Linux - General 10 05-26-2002 03:44 PM
beginner archangel Linux - Security 11 09-03-2001 05:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration