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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
08-20-2005, 01:54 PM
|
#1
|
LQ Newbie
Registered: Aug 2005
Posts: 27
Rep:
|
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.
|
|
|
08-20-2005, 02:11 PM
|
#2
|
Member
Registered: Apr 2005
Location: Canada
Distribution: Slackware
Posts: 496
Rep:
|
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!
|
|
|
08-20-2005, 02:15 PM
|
#3
|
LQ Newbie
Registered: Aug 2005
Posts: 27
Original Poster
Rep:
|
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
|
|
|
08-20-2005, 02:19 PM
|
#4
|
Member
Registered: Apr 2005
Location: Canada
Distribution: Slackware
Posts: 496
Rep:
|
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.
|
|
|
08-20-2005, 03:11 PM
|
#6
|
LQ Newbie
Registered: Aug 2005
Posts: 27
Original Poster
Rep:
|
Ive tried those, but the packages cant be found, none of them :/
|
|
|
08-20-2005, 03:28 PM
|
#7
|
Senior Member
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775
Rep:
|
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 03:32 PM.
|
|
|
08-20-2005, 03:31 PM
|
#8
|
LQ Newbie
Registered: Aug 2005
Posts: 27
Original Poster
Rep:
|
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.
|
|
|
08-20-2005, 03:33 PM
|
#9
|
Senior Member
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775
Rep:
|
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
|
|
|
08-20-2005, 03:40 PM
|
#10
|
LQ Newbie
Registered: Aug 2005
Posts: 27
Original Poster
Rep:
|
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?
|
|
|
08-20-2005, 03:48 PM
|
#11
|
Senior Member
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775
Rep:
|
Quote:
Originally posted by meeep
in terminal:
sudo apt-get update (some errors shows up here, normal?)
|
What errors show up?
|
|
|
08-20-2005, 04:00 PM
|
#13
|
LQ Newbie
Registered: Aug 2005
Posts: 27
Original Poster
Rep:
|
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 
|
|
|
08-20-2005, 04:04 PM
|
#14
|
LQ Newbie
Registered: Aug 2005
Posts: 27
Original Poster
Rep:
|
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 
|
|
|
08-20-2005, 04:06 PM
|
#15
|
Senior Member
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775
Rep:
|
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?
|
|
|
All times are GMT -5. The time now is 05:29 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|