Quantcast

Maximum PC

It is currently Mon Sep 01, 2014 5:12 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: new to linux; need help getting started
PostPosted: Thu May 13, 2010 3:31 pm 
Team Member
Team Member

Joined: Wed Aug 12, 2009 12:09 pm
Posts: 570
Hi all,
I'm going to be doing computational chemistry research this summer and i need to learn my way around linux as that is the prefered OS for this work. I downloaded and installed WUBI ubuntu on my home computer so I could play around with it.

I need to install a molecular modeling program named VMD but i don't know how to get it compiled. I read the README file and the 1st step is to rename the $install_library_dir and $install_bin_dir lines in the configure file. Currently I'm stuck on how to write the PATH variables. I googled it and editing the bashrc file was suggegested. So they say use this code:

[code]PATH=~/my_program/bin:â€


Top
  Profile  
 
 Post subject:
PostPosted: Thu May 13, 2010 7:35 pm 
Bitchin' Fast 3D Z8000
Bitchin' Fast 3D Z8000
User avatar

Joined: Wed Jun 16, 2004 5:29 pm
Posts: 6328
Location: Far away from you
I guess to answer your question, the way I've already used has been

PATH=$PATH:/usr/sbin/:/usr/local/bin

Obviously, you can add more by separating with a :

As a note, and to hopefully simplify this for you some..

$install_bin_dir already points to /usr/local/bin and install_library_dir points to install_library_dir="/usr/local/lib/

Which are directories that exist, so without any changes, it'll install there and is already in the path.

The documentation is a little vague in this respect, but it looks the only need to do this would be either a) You don't have any root privs on the default directory or b) you have a need to install multiple instances of the app.

Since this isn't a multi-user system, the first wouldn't be an issue. The second might be, but the way you're talking, I doubt that's the case either.


Top
  Profile  
 
 Post subject:
PostPosted: Fri May 14, 2010 7:11 am 
Team Member
Team Member

Joined: Wed Aug 12, 2009 12:09 pm
Posts: 570
furball146 wrote:
I guess to answer your question, the way I've already used has been

PATH=$PATH:/usr/sbin/:/usr/local/bin

Obviously, you can add more by separating with a :

As a note, and to hopefully simplify this for you some..


Just in case I would have to modify the PATH variables later, do I add to the bashrc file?

I'm supposed to learn my way around Linux using the command line so it's a bit confusing with some of the non-Windows jargon, etc. I'm not a programmer or familiar with all this


Top
  Profile  
 
 Post subject:
PostPosted: Fri May 14, 2010 7:46 am 
Bitchin' Fast 3D Z8000
Bitchin' Fast 3D Z8000
User avatar

Joined: Wed Jun 16, 2004 5:29 pm
Posts: 6328
Location: Far away from you
You could. and that would probably be easiest.

It's been a while since I've added one, but I believe you need to have it like this as it won't work with only the PATH= line.

PATH=$PATH:/home/user/bin
export PATH

You can always check your path to see what's included via

echo $PATH


Top
  Profile  
 
 Post subject:
PostPosted: Fri May 14, 2010 6:12 pm 
Team Member Top 500
Team Member Top 500
User avatar

Joined: Thu Mar 06, 2008 4:48 pm
Posts: 728
phillyj wrote:
furball146 wrote:
I guess to answer your question, the way I've already used has been

PATH=$PATH:/usr/sbin/:/usr/local/bin

Obviously, you can add more by separating with a :

As a note, and to hopefully simplify this for you some..


Just in case I would have to modify the PATH variables later, do I add to the bashrc file?

I'm supposed to learn my way around Linux using the command line so it's a bit confusing with some of the non-Windows jargon, etc. I'm not a programmer or familiar with all this


According to the bash man page, .bash_profile is executed for login shells, while .bashrc is executed for interactive non-login shells. So you would probably want to put it in .bash_profile.

And don't worry, we were all Linux n00bs at one time or another. If I can learn to use a shell anyone can.


Top
  Profile  
 
 Post subject:
PostPosted: Sat May 15, 2010 9:02 am 
Team Member
Team Member

Joined: Wed Aug 12, 2009 12:09 pm
Posts: 570
just another quick question:

I realized I wasn't running any firewall with WUBI like I did with windows. After I booted up in windows after running WUBI, the av found a trojan. COuld that have happened from using WUBI?

Any simple firewall/av solutions for me?


Top
  Profile  
 
 Post subject:
PostPosted: Sat May 15, 2010 6:32 pm 
Bitchin' Fast 3D Z8000
Bitchin' Fast 3D Z8000
User avatar

Joined: Wed Jun 16, 2004 5:29 pm
Posts: 6328
Location: Far away from you
I've never really heard of an AV hitting on WUBI, but because of what it is, I suppose it could flag as something. What do you logs say about it?

FWIW, I'm not a big fan of the WUBI app myself and would probably be running linux in something like virtualbox or vmware if you don't want to reparition your system and just install it there.

and what's leading you to beleive that there's no firewall?


Top
  Profile  
 
 Post subject:
PostPosted: Sun May 16, 2010 12:49 pm 
Team Member
Team Member

Joined: Wed Aug 12, 2009 12:09 pm
Posts: 570
furball146 wrote:
I've never really heard of an AV hitting on WUBI, but because of what it is, I suppose it could flag as something. What do you logs say about it?

FWIW, I'm not a big fan of the WUBI app myself and would probably be running linux in something like virtualbox or vmware if you don't want to reparition your system and just install it there.

and what's leading you to beleive that there's no firewall?


Well, poor choice of words but I think linux has its own firewall.

I guess it was a case of causation and correlation. I was running WUBI for an hour or so until my brother wanted to use the computer so i rebooted into XP. He tells me later that Avira AV found a trojan so...


Top
  Profile  
 
 Post subject:
PostPosted: Sun May 16, 2010 4:43 pm 
Bitchin' Fast 3D Z8000
Bitchin' Fast 3D Z8000
User avatar

Joined: Wed Jun 16, 2004 5:29 pm
Posts: 6328
Location: Far away from you
phillyj wrote:
but I think linux has its own firewall.


That's why I asked it the way I did. Clearly you understand there's one there, now I'm really wondering why you even asked to begin with.


Top
  Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group