LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-07-2012, 10:30 AM   #1
usnf002
LQ Newbie
 
Registered: Feb 2012
Posts: 7

Rep: Reputation: Disabled
how do I add the ubuntu precise repository


Hi, I have been been looking for an update to a program that I have and it is only in there... but have no idea how to use my manager to add it. It says I need to fill in some type of link, but when I try to add http://packages.ubuntu.com/precise/ or https://launchpad.net/ubuntu it does not work.
 
Old 02-07-2012, 10:49 AM   #2
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,167

Rep: Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165
Which version of Ubuntu are you using now? What is the name of the program?
 
Old 02-07-2012, 10:52 AM   #3
usnf002
LQ Newbie
 
Registered: Feb 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
I am using uberstudent, based off of ubuntu. And the name of the program is ghemical.
 
Old 02-07-2012, 10:53 AM   #4
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636
Each line must start with deb so your sources.list would look something like this
deb http://archive.ubuntu.com/ubuntu/ precise main restricted multiverse universe
 
Old 02-07-2012, 10:58 AM   #5
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,167

Rep: Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165
You can get the latest ghemical here: http://www.bioinformatics.org/ghemical/download/

I do not recommend mixing repositories (too risky, it might make your system unstable/buggy).

Sorry I cannot be of further assistance but I have no experience with UberStudent.

Last edited by snowpine; 02-07-2012 at 11:02 AM.
 
Old 02-07-2012, 11:02 AM   #6
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636
Quote:
Originally Posted by snowpine View Post
You can get the latest ghemical here: http://www.bioinformatics.org/ghemical/download/
This is the source package, if he doesn't know how to add a repository I doubt he will know how to install from source.

Quote:
Originally Posted by snowpine View Post
I do not recommend mixing repositories (possible it will make your system unstable/buggy).
It is possible but again so can installing from source when you don;t know what you are doing.
 
Old 02-07-2012, 11:09 AM   #7
usnf002
LQ Newbie
 
Registered: Feb 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
ok,I did what k3lt01 suggested, now I am getting this error:

E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf)
E: Error occurred while processing gtk2-engines (NewVersion1)
E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_precise_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
E: _cache->open() failed, please report.

W: Unable to munmap
 
Old 02-07-2012, 11:09 AM   #8
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,167

Rep: Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165
k3lt01 and I must agree to disagree. Installing from source is a basic Linux 101 skill (you've heard the phrase "open source software"? well this is what it means!) whereas mixing Ubuntu Lucid and Precise software repositories is never recommended under any circumstance.
 
Old 02-07-2012, 11:13 AM   #9
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636
I would recommend you contact Uberstudent and ask them what versions of Ubuntu are compatible with the version of Uberstudent you have. I would also ask them if they plan on packaging the application you want and placing it in a repository specifically for Uberstudent.

I would also advise that if you are going to "play" with features of an operating system you should do some reading beforehand so you actually know the procedure and the correct things to add.
 
Old 02-07-2012, 11:17 AM   #10
usnf002
LQ Newbie
 
Registered: Feb 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
thanks, I will shoot them an email, and try it from source.
 
Old 02-07-2012, 11:22 AM   #11
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636
I'm not getting into a agree/disagree scenario. I'm trying to help the OP. If someone doesn't know how to use a GUI in a GUI OS it is highly likely they won't have a clue what to do with the cli (regardless of the cli being Linux 101 or not). I really recommend actually knowing (head knowledge) what you are doing BEFORE you try to do it. Just adding lines to anything can break your system same goes for compiling from source. You can have dependency problems and more.

Like I said in my previous post I recommend you contact Uberstudent, they have a forum and other contact details.
 
Old 02-07-2012, 11:57 AM   #12
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,167

Rep: Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165
When in doubt, the safest option is to install the stable & tested version from the Ubuntu repositories. If you are using the latest Ubuntu then you will have the latest ghemical. If you are using an older Ubuntu for some reason then you will have an older ghemical (but it will not break your system).

Beyond that it is your personal choice how much to learn about Linux.
 
Old 02-07-2012, 12:17 PM   #13
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,718

Rep: Reputation: 906Reputation: 906Reputation: 906Reputation: 906Reputation: 906Reputation: 906Reputation: 906Reputation: 906
Quote:
Originally Posted by snowpine View Post
k3lt01 and I must agree to disagree. Installing from source is a basic Linux 101 skill (you've heard the phrase "open source software"? well this is what it means!) whereas mixing Ubuntu Lucid and Precise software repositories is never recommended under any circumstance.
I wouldnt go quite as far as 'never recommended under any circumstance', but yeah, it will seriously increase your risk of breaking your system.

If usnf002 is uable to compile ghemical from source, if the system break it will be more difficult to fix than someone who knows a bit more.

@ usnf002- linux isnt windows. 'Updating' programs can be easier, or harder, depending on your skill levels, and the distro you are using.

How much difference is there between ghemical 2.99.2 and 3.0.0 anyway?
 
Old 02-07-2012, 12:25 PM   #14
usnf002
LQ Newbie
 
Registered: Feb 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
@cascade9 I was looking at the newer version b/c the current one is missing some important basis sets needed for calculating energy, like some CI post Hatree Fock methods. It might just be a library thing, but I am not sure.
 
  


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
LXer: Ubuntu 12.04 LTS a.k.a. Precise Pangolin LXer Syndicated Linux News 0 10-06-2011 07:50 PM
LXer: How to add Medibuntu repository in Ubuntu 11.04 Natty Narwhal LXer Syndicated Linux News 0 04-24-2011 09:10 AM
[SOLVED] using maverick - added one new repository but now can't add another repository gerryyy Linux - Software 6 02-16-2011 06:47 AM
[SOLVED] Difference between add-apt-repository and apt-add-repository Kenny_Strawn Ubuntu 3 12-22-2010 07:50 PM
LXer: PPASEARCH- A tool that search and add PPA repository in ubuntu via command line LXer Syndicated Linux News 0 08-23-2010 05:50 AM


All times are GMT -5. The time now is 01:10 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration