LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how do I add the ubuntu precise repository (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-add-the-ubuntu-precise-repository-928119/)

usnf002 02-07-2012 10:30 AM

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.

snowday 02-07-2012 10:49 AM

Which version of Ubuntu are you using now? What is the name of the program?

usnf002 02-07-2012 10:52 AM

I am using uberstudent, based off of ubuntu. And the name of the program is ghemical.

k3lt01 02-07-2012 10:53 AM

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

snowday 02-07-2012 10:58 AM

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.

k3lt01 02-07-2012 11:02 AM

Quote:

Originally Posted by snowpine (Post 4596116)
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 (Post 4596116)
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.

usnf002 02-07-2012 11:09 AM

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

snowday 02-07-2012 11:09 AM

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.

k3lt01 02-07-2012 11:13 AM

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.

usnf002 02-07-2012 11:17 AM

thanks, I will shoot them an email, and try it from source.

k3lt01 02-07-2012 11:22 AM

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.

snowday 02-07-2012 11:57 AM

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.

cascade9 02-07-2012 12:17 PM

Quote:

Originally Posted by snowpine (Post 4596131)
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?

usnf002 02-07-2012 12:25 PM

@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.


All times are GMT -5. The time now is 01:15 PM.