|
|
Home » Community » Newbie corner » How install Upp under Ubuntu Hardy from PPA?
Re: How install Upp under Ubuntu Hardy from PPA? [message #26573 is a reply to message #26567] |
Wed, 12 May 2010 14:47 |
|
nlneilson wrote on Wed, 12 May 2010 03:13 | Thanks for looking into this.
Attached is the output.txt
theide never started and no setup box.
|
Hi nlneilson,
I checked the output and I think I'm finally getting the idea... I suspect the problem is with checking the signature. The strange think is that it worked for me. Anyway, I changed the script a bit, could you run it the same way as before please?
Quote: | With Eclipse for java a download can be placed anywhere, everything is in one directory, and a link to the executable is all that is required.
With Upp for Win it is the same, everything is in the upp directory except MyApps as a "workspace" Updating, AFAIK, is just replacing the upp directory with the new one.
Why can't this be done for upp in Ubuntu?
|
Technically it can be done. Practically, it is almost impossible. The problem is, that various versions of ubuntu and even same version on different systems might have different libraries installed. The packaging software is one of few sane ways how to ensure that there will be installed everything that is needed for theide to run. We could make theide in single directory, place it /opt but then we would have to distribute also all the shared libs, to make sure it works properly, not even to mention that it would be necessary to set up PATH in such ways that the program find the libs and the user finds the program.
Quote: | Just as an option for those that have problems with or would rather not use PPA.
| The only other viable option is to download upp-src-x11-NNNN.tar.gz and compile it. Releasing compiled software for Linux is generally quite complex task - you have to compile for various architectures, make sure the libs are available as described above, etc. I have never seen opensource project that would go this way, only closed source application are distributed like this, for obvious reasons...
Honza
-
Attachment: script.sh
(Size: 0.83KB, Downloaded 244 times)
|
|
|
Re: How install Upp under Ubuntu Hardy from PPA? [message #26577 is a reply to message #26573] |
Wed, 12 May 2010 20:23 |
nlneilson
Messages: 644 Registered: January 2010 Location: U.S. California. Mojave &...
|
Contributor |
|
|
That worked, THANKS!!
Can this script be used to update rather than use the PPA?
Or will something be changed where the PPA will work with the setup/problem I was having?
Thanks for explaining the problems involved doing it another way.
edit: I see that upp has been added to Synaptic so it will probably work OK from there, is that correct?
Neil
-
Attachment: output.txt
(Size: 262.47KB, Downloaded 304 times)
[Updated on: Wed, 12 May 2010 20:49] Report message to a moderator
|
|
|
Re: How install Upp under Ubuntu Hardy from PPA? [message #26578 is a reply to message #26577] |
Wed, 12 May 2010 21:24 |
|
nlneilson wrote on Wed, 12 May 2010 20:23 | That worked, THANKS!!
Can this script be used to update rather than use the PPA?
Or will something be changed where the PPA will work with the setup/problem I was having?
Thanks for explaining the problems involved doing it another way.
edit: I see that upp has been added to Synaptic so it will probably work OK from there, is that correct?
Neil
|
Hi Neil,
The script actually just follows the steps listed on the launchpad web to add the repository to your system, it just removes the U++ first (+ the diagnostics). From now on theide will be updated regularly the same way as all other software you have installed.
I know that the instructions on launchpad are not exactly the best ones. I could actually write a script that would add the repository and install upp. Showing user one simple command will be much easier then linking that unclear guide. Your case was a good inspiration, thanks
Anyway, to sum it up, here is my version what was wrong with your installation attempts: I think you mixed the two guides for different versions of ubuntu:
In 9.10 and newer, you just run add-apt-repository ppa:dolik-rce/upp-nightly and then install upp from Synaptic. This command takes care about everything - adds the address to source.list and downloads the signing public keys.
In 9.4 and earlier (actually it should work in any version...) you have to add the line to sources.list manually, and then fetch the key with command sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 643469F3
Since you didn't get the key, it probably failed to download some of the packages. However, I'm not even sure how you got a running theide this way - it must have been from your attempts using make...
Best regards and enjoy your new linux theide
Honza
[Updated on: Wed, 12 May 2010 21:24] Report message to a moderator
|
|
|
|
installation from PPA on "clean" computer [message #27905 is a reply to message #26580] |
Tue, 10 August 2010 09:45 |
camphene
Messages: 7 Registered: April 2010
|
Promising Member |
|
|
Hello!
I have a problem with installation from PPA on "clean" computer.
theide and upp installed, but configuration files did not appear after installation or first start.
No templates, no MyApps/...
If old version installed by "make install", all ok.
If i had no upp/theide earlier, i need run
mkdir ~/upp.out
mkdir ~/MyApps
mkdir ~/.upp
mkdir ~/.upp/theide
cp GCC.bm ~/.upp/theide
echo UPP = \"/usr/share/upp/uppsrc\"\;OUTPUT = \"$HOME/upp.out\"\; > ~/.upp/theide/uppsrc.var
echo UPP = \"/usr/share/upp/examples\;/usr/share/upp/uppsrc\"\;OUTPUT = \"$HOME/upp.out\"\; > ~/.upp/theide/examples.var
echo UPP = \"/usr/share/upp/reference\;/usr/share/upp/uppsrc\"\;OUTPUT = \"$HOME/upp.out\"\; > ~/.upp/theide/reference.var
echo UPP = \"/usr/share/upp/tutorial\;/usr/share/upp/uppsrc\"\;OUTPUT = \"$HOME/upp.out\"\; > ~/.upp/theide/tutorial.var
echo UPP = \"/usr/share/upp/bazaar\;/usr/share/upp/uppsrc\"\;OUTPUT = \"$HOME/upp.out\"\; > ~/.upp/theide/bazaar.var
echo UPP = \"$HOME/MyApps\;/usr/share/upp/uppsrc\"\;OUTPUT = \"$HOME/upp.out\"\; > ~/.upp/theide/MyApps.var
manually for each user...
Can APT create config files automatically,
or can you include necessary steps in manual?
OS: Ubuntu 8.04
[Updated on: Wed, 11 August 2010 08:29] Report message to a moderator
|
|
|
Re: installation from PPA on "clean" computer [message #27913 is a reply to message #27905] |
Tue, 10 August 2010 16:22 |
|
Hi camphene,
The ppa installation still has some rough edges, as you noticed. I am currently working on smoothing the process and filling in gaps like this.
You already found the solution, but just for completeness: you can create the repositories also when starting the ide. Right clicking on the left pane of the "Select main package" dialog let's you create the repository, just fill in the paths and you are ready to go.
Thank you for for using the PPA
Best regards,
Honza
|
|
|
|
Re: installation from PPA on "clean" computer [message #27920 is a reply to message #27916] |
Tue, 10 August 2010 21:26 |
|
That is strange. The templates are present in the deb, e.g. /usr/share/upp/uppsrc/Core/core.upt. Theide should find them and offer in the new package dialog automatically.
I will try to reproduce your steps on fresh virtual machine and let you know what found.
As for your question about templates: Yes, you can of course create your own .upt files. The syntax is not documented anywhere, but you can get the idea by reading those included, or the couple of user created templates that were uploaded on the forum in the past.
Honza
|
|
|
|
Re: Ìåíÿ ïîäâåëà ìîÿ íåâíèìàòåëüíîñòü [message #27942 is a reply to message #27929] |
Wed, 11 August 2010 15:26 |
|
Glad to hear everything is ok now.
I am pretty sure you are aware of this, but for completeness: Using /usr/share/upp provides you with read-only sources. So if you decide to hack on the U++ itself, you will have to move them somewhere where you have a write access as a regular user. The recomended way (not only for this reason) is having a copy of the sources in your home directory.
That said, having a read only nests in /usr/share/ is one of the options planned for the future. So if you encounter some trouble with this setup, I would be glad to hear your experiences with it
Honza
|
|
|
Re: How install Upp under Ubuntu Hardy from PPA? [message #36678 is a reply to message #26147] |
Mon, 25 June 2012 08:14 |
nlneilson
Messages: 644 Registered: January 2010 Location: U.S. California. Mojave &...
|
Contributor |
|
|
I installed Ubuntu 12.04
Tried the PPA
If upp has been installed where is it?
12.04 does not have Synaptic at least by that name.
It does have "Ubuntu Software Center" but searching for "upp" it was not found.
neil@ubuntu:~$ sudo add-apt-repository ppa:dolik-rce/upp-nightly
[sudo] password for neil:
You are about to add the following PPA to your system:
U++ framework is C++ library for cross-platform development with IDE. Please refer to http://ultimatepp.org/ to get more detailed information.
This PPA contains nightly development builds. See https://launchpad.net/~dolik-rce/+archive/upp/ for current release version.
More info: https://launchpad.net/~dolik-rce/+archive/upp-nightly
Press [ENTER] to continue or ctrl-c to cancel adding it
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.ajPVnVdM87 --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80/ --recv CAD8328D83F73B3CD4C6893776304C1E643469F3
gpg: requesting key 643469F3 from hkp server keyserver.ubuntu.com
gpg: key 643469F3: public key "Launchpad U++" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
neil@ubuntu:~$ sudo apt-get update
Ign http://us.archive.ubuntu.com precise InRelease
Ign http://us.archive.ubuntu.com precise-updates InRelease
Ign http://us.archive.ubuntu.com precise-backports InRelease
Get:1 http://us.archive.ubuntu.com precise Release.gpg [198 B]
Get:2 http://us.archive.ubuntu.com precise-updates Release.gpg [198 B]
Ign http://security.ubuntu.com precise-security InRelease
Ign http://ppa.launchpad.net precise InRelease
Ign http://ppa.launchpad.net precise InRelease
Get:3 http://us.archive.ubuntu.com precise-backports Release.gpg [198 B]
Get:4 http://us.archive.ubuntu.com precise Release [49.6 kB]
Get:5 http://security.ubuntu.com precise-security Release.gpg [198 B]
Get:6 http://ppa.launchpad.net precise Release.gpg [316 B]
Get:7 http://security.ubuntu.com precise-security Release [49.6 kB]
Get:8 http://us.archive.ubuntu.com precise-updates Release [49.6 kB]
Hit http://ppa.launchpad.net precise Release.gpg
Get:9 http://us.archive.ubuntu.com precise-backports Release [49.6 kB]
Get:10 http://ppa.launchpad.net precise Release [11.9 kB]
Get:11 http://us.archive.ubuntu.com precise/main Sources [934 kB]
Hit http://ppa.launchpad.net precise Release
Get:12 http://security.ubuntu.com precise-security/main Sources [20.6 kB]
Get:13 http://ppa.launchpad.net precise/main Sources [756 B]
Get:14 http://ppa.launchpad.net precise/main i386 Packages [2,019 B]
Ign http://ppa.launchpad.net precise/main TranslationIndex
Get:15 http://security.ubuntu.com precise-security/restricted Sources [14 B]
Get:16 http://security.ubuntu.com precise-security/universe Sources [7,120 B]
Get:17 http://security.ubuntu.com precise-security/multiverse Sources [713 B]
Get:18 http://security.ubuntu.com precise-security/main i386 Packages [65.9 kB]
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Get:19 http://security.ubuntu.com precise-security/restricted i386 Packages [14 B]
Get:20 http://security.ubuntu.com precise-security/universe i386 Packages [17.4 kB]
Get:21 http://security.ubuntu.com precise-security/multiverse i386 Packages [1,394 B]
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Hit http://security.ubuntu.com precise-security/universe Translation-en
Get:22 http://us.archive.ubuntu.com precise/restricted Sources [5,470 B]
Get:23 http://us.archive.ubuntu.com precise/universe Sources [5,019 kB]
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Get:24 http://us.archive.ubuntu.com precise/multiverse Sources [155 kB]
Get:25 http://us.archive.ubuntu.com precise/main i386 Packages [1,274 kB]
Get:26 http://us.archive.ubuntu.com precise/restricted i386 Packages [8,431 B]
Get:27 http://us.archive.ubuntu.com precise/universe i386 Packages [4,796 kB]
Get:28 http://us.archive.ubuntu.com precise/multiverse i386 Packages [121 kB]
Hit http://us.archive.ubuntu.com precise/main TranslationIndex
Hit http://us.archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise/universe TranslationIndex
Get:29 http://us.archive.ubuntu.com precise-updates/main Sources [115 kB]
Get:30 http://us.archive.ubuntu.com precise-updates/restricted Sources [1,379 B]
Get:31 http://us.archive.ubuntu.com precise-updates/universe Sources [27.7 kB]
Get:32 http://us.archive.ubuntu.com precise-updates/multiverse Sources [1,058 B]
Get:33 http://us.archive.ubuntu.com precise-updates/main i386 Packages [294 kB]
Get:34 http://us.archive.ubuntu.com precise-updates/restricted i386 Packages [2,439 B]
Get:35 http://us.archive.ubuntu.com precise-updates/universe i386 Packages [80.5 kB]
Get:36 http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages [2,049 B]
Hit http://us.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/universe TranslationIndex
Get:37 http://us.archive.ubuntu.com precise-backports/main Sources [1,346 B]
Get:38 http://us.archive.ubuntu.com precise-backports/restricted Sources [14 B]
Get:39 http://us.archive.ubuntu.com precise-backports/universe Sources [6,873 B]
Get:40 http://us.archive.ubuntu.com precise-backports/multiverse Sources [1,383 B]
Get:41 http://us.archive.ubuntu.com precise-backports/main i386 Packages [929 B]
Get:42 http://us.archive.ubuntu.com precise-backports/restricted i386 Packages [14 B]
Get:43 http://us.archive.ubuntu.com precise-backports/universe i386 Packages [6,117 B]
Get:44 http://us.archive.ubuntu.com precise-backports/multiverse i386 Packages [999 B]
Hit http://us.archive.ubuntu.com precise-backports/main TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise/main Translation-en
Hit http://us.archive.ubuntu.com precise/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise/restricted Translation-en
Hit http://us.archive.ubuntu.com precise/universe Translation-en
Hit http://us.archive.ubuntu.com precise-updates/main Translation-en
Hit http://us.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-updates/universe Translation-en
Hit http://us.archive.ubuntu.com precise-backports/main Translation-en
Hit http://us.archive.ubuntu.com precise-backports/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-backports/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-backports/universe Translation-en
Fetched 13.2 MB in 17s (754 kB/s)
Reading package lists... Done
neil@ubuntu:~$ add-apt-repository ppa:dolik-rce/upp-nightly
Error: must run as root
neil@ubuntu:~$ sudo add-apt-repository ppa:dolik-rce/upp-nightly
[sudo] password for neil:
You are about to add the following PPA to your system:
U++ framework is C++ library for cross-platform development with IDE. Please refer to http://ultimatepp.org/ to get more detailed information.
This PPA contains nightly development builds. See https://launchpad.net/~dolik-rce/+archive/upp/ for current release version.
More info: https://launchpad.net/~dolik-rce/+archive/upp-nightly
Press [ENTER] to continue or ctrl-c to cancel adding it
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.Nc98QLjmBj --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80/ --recv CAD8328D83F73B3CD4C6893776304C1E643469F3
gpg: requesting key 643469F3 from hkp server keyserver.ubuntu.com
gpg: key 643469F3: "Launchpad U++" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
neil@ubuntu:~$
|
|
|
Re: How install Upp under Ubuntu Hardy from PPA? [message #36679 is a reply to message #36678] |
Mon, 25 June 2012 08:58 |
|
nlneilson wrote on Mon, 25 June 2012 08:14 | I installed Ubuntu 12.04
Tried the PPA
If upp has been installed where is it?
12.04 does not have Synaptic at least by that name.
It does have "Ubuntu Software Center" but searching for "upp" it was not found.
|
Hi Niel,
Judging by the output you posted you just successfully added the PPA to your sources and ran apt-get update. The last step is to run That will install U++ and TheIDE. To verify this, you can check if the U++ sources appeared in /usr/share/upp and theide binary should be present in /usr/bin. Also, TheIDE icon should appear in your desktop environment menu/application launcher.
I am not very familiar with Ubuntu software center, so I can't really tell why it didn't found upp package. I think it should be there as soon as you update package list.
Best regards,
Honza
|
|
|
Re: How install Upp under Ubuntu Hardy from PPA? [message #36680 is a reply to message #26147] |
Mon, 25 June 2012 09:52 |
nlneilson
Messages: 644 Registered: January 2010 Location: U.S. California. Mojave &...
|
Contributor |
|
|
sudo apt-get install upp
I did not notice that in the instructions.
I used your .sh file later, saved and renamed to upp-install.bash and added one line at the end:
read -p "end"
I got a bunch of these errors:
** (theide:8732): CRITICAL **: os_bar_hide: assertion `OS_IS_BAR (bar)' failed
(theide:8732): Gtk-CRITICAL **: IA__gtk_widget_hide: assertion `GTK_IS_WIDGET (widget)' failed
** (theide:8732): CRITICAL **: os_bar_set_parent: assertion `OS_IS_BAR (bar)' failed
** (theide:8732): CRITICAL **: os_bar_hide: assertion `OS_IS_BAR (bar)' failed
(theide:8732): Gtk-CRITICAL **: IA__gtk_widget_hide: assertion `GTK_IS_WIDGET (widget)' failed
I can run TheIDE.
How do I update the latest build? There was an option in the setup about it checks each time TheIDE is run, I just used the defaults.
Thanks Honza
[Updated on: Mon, 25 June 2012 09:56] Report message to a moderator
|
|
|
Re: How install Upp under Ubuntu Hardy from PPA? [message #36681 is a reply to message #36680] |
Mon, 25 June 2012 12:08 |
|
nlneilson wrote on Mon, 25 June 2012 09:52 | How do I update the latest build? There was an option in the setup about it checks each time TheIDE is run, I just used the defaults.
|
Everytime you update your system (e.g. with sudo apt-get upgrade), new version of U++ sources will be put in /usr/share/upp. TheIDE will notify you about this by shoving an icon with little red exclamation mark on the menu bar (you can also check manually in Setup > Check for updates ...), and if you click on it, you can sync the sources to the local copy in your home directory.
Honza
|
|
|
|
|
Re: How install Upp under Ubuntu Hardy from PPA? [message #36711 is a reply to message #36709] |
Thu, 28 June 2012 06:46 |
|
nlneilson wrote on Thu, 28 June 2012 04:21 | neil@ubuntu:~$ sudo add-apt-repository ppa:dolik-rce/upp-nightly
...
neil@ubuntu:~$ sudo apt-get install upp
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package upp
|
Hi Neil,
This time you forgot to do sudo apt-get update before trying to install add-apt-repository only adds it to sources list, then the package lists must updated and only after that your apt-get will know what packages are in the PPA. It works pretty much the same as with any other repository.
Honza
|
|
|
Re: How install Upp under Ubuntu Hardy from PPA? [message #36713 is a reply to message #36711] |
Thu, 28 June 2012 08:42 |
nlneilson
Messages: 644 Registered: January 2010 Location: U.S. California. Mojave &...
|
Contributor |
|
|
I rebooted the computer otherwise sudo apt-get update just showed a few lines. After reboot then there were a lot of lines apparently checking and updating ubuntu. Then sudo apt-get install upp apparently installed and ended with something like configuration on hold.
No config box was opened.
Tried the update and install again
neil@ubuntu:~$ sudo apt-get install upp
Reading package lists... Done
Building dependency tree
Reading state information... Done
upp is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
On the other computer there is a upp directory under home.
This computer does not have that.
This computer was much harder to install ubuntu on. Doing a search for "upp" could not find where it was installed.
Under software it shows upp 5082 is installed but I don't know if it installed correctly or where it is at.
[Updated on: Thu, 28 June 2012 08:50] Report message to a moderator
|
|
|
|
Re: How install Upp under Ubuntu Hardy from PPA? [message #36720 is a reply to message #36718] |
Thu, 28 June 2012 19:46 |
|
Hi Neil,
I understand that it might be a little confusing for anyone who is not familiar with the ubuntu package management. I believed that the link provided on Download page pointing to official launchpad step-by-step guide should be enough of documentation... Well, just now I found the address is no longer valid I will definitely fix that and replace it with hopefully better guide directly on U++ site. I am sorry for the inconvenience the missing documentation might have caused.
However, I don't think your rant is fair. The six hours you spend was completely unnecessary, the whole installation takes few minutes. I spend hundreds of hours of my free time working on the packaging and automatic builds in PPA and I believe it is now as simple as it can be. If you were just a little more patient (complaining about no answer to a question mere 10 hours after posting it on the forum is definitely not a sign of patience) and waited for an answer instead of hastily reinstalling entire OS, or if you clearly stated that you're still a novice to Ubuntu package management, then your problem could be solved without you getting frustrated and scaring other users from even trying by that "warning".
Just for a future reference, until there is a better guide: You only need three commands to install U++:sudo add-apt-repository ppa:dolik-rce/upp-nightly
sudo apt-get update
sudo apt-get install upp
After that you can run TheIDE from application menu or from terminal typing just "theide". It is not that hard... I bet a few minutes of google search would give you enough hints to figure it out.
Concerning the location of the files when installed, I already told you before: /usr/share/upp is the directory with sources and theide executable can be found in /usr/bin directory.
Honza
|
|
|
Goto Forum:
Current Time: Thu May 23 17:00:53 CEST 2024
Total time taken to generate the page: 0.01991 seconds
|
|
|