Main place for discussions about U++ cross platform development framework.
How install Upp under Ubuntu Hardy from PPA?
How i can install Upp under Ubuntu Hardy from PPA? 1. I add to /etc/apt/sources.list deb [url]http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu[/url] hardy main deb-src [url]http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu[/url] hardy main 2. $ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 643469F3 3. $ sudo apt-get update return all ok, but $ apt-cache search ultimate not find upp or ultimate++ . Help me, please!
Re: How install Upp under Ubuntu Hardy from PPA?
Hi Campahene! You got it all correct, just didn't notice that "gwibber-daily" mentioned in launchpads help is just an example To get ultimate++, the lines in /etc/apt/sources.list should be deb http://ppa.launchpad.net/dolik-rce/upp/ubuntu hardy main deb-src http://ppa.launchpad.net/dolik-rce/upp/ubuntu hardy main Or, if you are interested in nightly builds: deb http://ppa.launchpad.net/dolik-rce/upp-nightly/ubuntu hardy main deb-src http://ppa.launchpad.net/dolik-rce/upp-nightly/ubuntu hardy main Let me know if you get any more troubles. Best regards, Honza
Download the .tar.gz, extract it, there is a readme file. You probably need the C++ compiler for the make, make install and running theIDE. http://www.ultimatepp.org/forum/index.php?t=msg&th=5085& amp; amp; amp; amp;start=0& Maybe someone could change the readme file to include this. It takes awhile to compile it.
Dolik.rce, thank you very much! Now all ok, package "upp" installed. Nlneilson, thank you very much! make && make install work correctly (i need [except build-essential] libx11-dev libxft-dev libgtk2.0-dev libnotify-dev gdb), but very slow, and Upp not updating automatically. Again, many thanks!!!
Is there a link that explains how to do it like in the first post? When Ubuntu 10.04 Release comes out I would like to try it that way.
Sorry, i do not know much English. "that way" is "make && make install" or PPA?
Thanks Camphene, your English is fine. https://launchpad.net/~dolik-rce/+archive/upp-nightly and the "Read about installing" I had no idea what PPA was, I am mostly on Win but just test and tinker with Linux.
After installing Ubuntu 10.04 I tried to set up the PPA to download Upp. Was able to get upp through Synaptics. It shows under Applications->Programming->TheIDE, clicking on that it opened with a blank Assembly, Package, etc., clicking OK just closed it. After about 4 hours of tinkering I gave up. Downloaded the ... 2381.tar.gz and did the make, make install. Something needs to be done as far as instructions for Linux noobs. I clicked on all of the PPA links, read and followed. Very frustrating. Many would just give up. Until Ubuntu accepts Upp as an included option under Synaptics I think a package, at least for 10.04 and later, that has theIDE built (no make required) and something to set up the directories and links automatically, even it is only updated every couple of months, would be much better than you have now. I have found that Upp is very good. The initial download and "install" leaves much that could be improved.
Hi nlneilson, What package did you install? There are actually two: upp and theide. Upp contains the sources will also install theide. Theide is only ide - if you install only that you would have to get sources e.g. from svn and setup the assemblies yourself. From your description, it seems like you installed "theide". In Synaptic, if you select "upp" for installation, it should mark "theide" as well. If you did that and it didn't prepare the assemblies, please let me know and I'll try to investigate it deeper. After installation, theide asks you on the first start if you want to copy the sources to your home directory. There is just one caveat: If you already have directory .upp/theide in you home directory, this installation step is skipped to preserve older configuration (so if you want to try again from scratch, you should delete/move it). I'm sorry for any inconvenience you encountered. I'll try to update the download page and give more detailed info. Debian packages are still under development and there are still some problems to solve. Best regards, Honza
First I installed g++ and libnotify-dev through Synaptic. Then did the PPA stuff. System->Administration->Software Sources->Other Software->Add I pasted in these two lines deb http://ppa.launchpad.net/dolik-rce/upp-nightly/ubuntu lucid main deb-src http://ppa.launchpad.net/dolik-rce/upp-nightly/ubuntu lucid main I did nothing with the Signing key or the Fingerprint. Then checked that it was in /etc/apt/sources.list http://ppa.launchpad.net/dolik-rce/upp/ubuntu lucid main http://ppa.launchpad.net/dolik-rce/upp/ubuntu lucid main (Source Code) http://ppa.launchpad.net/dolik-rce/upp-nightly/ubuntu lucid main I don't know why three lines were added and only one is "nightly". There was no upp installed prior to this after installing 10.04 Then in Synaptic selected upp, whatever was automatically marked with that was downloaded. This was the same with two notebooks, installed 10.04 under Win XP and Vista. I did not do any make, make install as I read nothing that said this was necessary when using PPA. I don't do much installing in Linux except follow instructions so it may be my error. Just a download and run to install like it is done under Win, is that something that would be near impossible under Ubuntu?
nlneilson wrote on Mon, 10 May 2010 13:41 First I installed g++ and libnotify-dev through Synaptic. Then did the PPA stuff. System->Administration->Software Sources->Other Software->Add I pasted in these two lines deb http://ppa.launchpad.net/dolik-rce/upp-nightly/ubuntu lucid main deb-src http://ppa.launchpad.net/dolik-rce/upp-nightly/ubuntu lucid main I did nothing with the Signing key or the Fingerprint. Then checked that it was in /etc/apt/sources.list http://ppa.launchpad.net/dolik-rce/upp/ubuntu lucid main http://ppa.launchpad.net/dolik-rce/upp/ubuntu lucid main (Source Code) http://ppa.launchpad.net/dolik-rce/upp-nightly/ubuntu lucid main I don't know why three lines were added and only one is "nightly". There was no upp installed prior to this after installing 10.04 Then in Synaptic selected upp, whatever was automatically marked with that was downloaded. This was the same with two notebooks, installed 10.04 under Win XP and Vista. I did not do any make, make install as I read nothing that said this was necessary when using PPA. I don't do much installing in Linux except follow instructions so it may be my error. Just a download and run to install like it is done under Win, is that something that would be near impossible under Ubuntu? That all seems correct to me. The only glitch is the content of /etc/apt/sources, which should be the same lines as you added, i.e. deb http://ppa.launchpad.net/dolik-rce/upp-nightly/ubuntu lucid main deb-src http://ppa.launchpad.net/dolik-rce/upp-nightly/ubuntu lucid main But even with those you report it should still work and install the packages correctly. No make & make install is required, theide is already compiled. It seems like there is some other problem, possibly on my side. I will test it on fresh 10.04 ASAP. Having "installer" is possible, but using the package managment is - usualy - easier. It is supposed to ensure all the necessary libraries and dependencies are installed, keeps software up-to-date, etc. Honza PS: You don't need to install g++ and libnotify, the packages depend on them so they should be installed automatically.
I tested the installation on fresh installed ubuntu, trying to repeat your steps as close as possible. It all went flawlessly and I gut properly functioning theide with all assemblies etc. in the end. Here is few things I noticed: nlneilson wrote on Mon, 10 May 2010 13:41 System->Administration->Software Sources->Other Software->Add I pasted in these two lines deb http://ppa.launchpad.net/dolik-rce/upp-nightly/ubuntu lucid main deb-src http://ppa.launchpad.net/dolik-rce/upp-nightly/ubuntu lucid main Did you paste them both at once or one at a time (pressing Add button twice)? If you paste them both at once, Synaptic treats them as a single line. That would partially explain the wrong lines in sources.list, although it doesn't explain missing "-nightly" and three lines instead of two. nlneilson wrote on Mon, 10 May 2010 13:41 This was the same with two notebooks, installed 10.04 under Win XP and Vista. What exactly did you mean by this? Using wubi installer? I wonder if that could cause any trouble, but it seems unlikely... When you first launched TheIDE, did you see the "Ultimate++ user setup" box? The problems you described above would suggest that it either didn't work as it supposed to, or you accidentally hit Cancel. I guess it could be even done just by pressing enter just a moment before this window shows... Honza
I pasted the lines in separately. The lines pasted in included the deb and deb-src I used wubi to install 10.04 The image for setup never appeared. It was like when theIDE starts but the fields were blank. I will delete the make,make install version and in Synaptic uninstall upp from there. I will also edit /etc/apt/sources.list and remove the three lines re upp. Then try again.
I deleted everything related to the .tar.gz and that install. In Synaptic completely removed upp. Edited /sources.list, did the PPA stuff, the /sources.list has the two nightly. Synaptic installed upp. Applications->TheIDE No setup screen, theIDE starts, there are six listings under Assembly, selecting any one and then OK closes the IDE. In Synaptic did the reinstall twice, uninstall and install three times. Same results, it does not work for me.
dolik.rce wrote on Mon, 10 May 2010 18:59 What exactly did you mean by this? Using wubi installer? I wonder if that could cause any trouble, but it seems unlikely... This may be the problem when Ubuntu is installed with wubi. I did a search while in Linux for "theide" This showed the data for Win also like "theide.exe /host/upp" Double clicking on that opens theide and shows 2241, the version I have installed under Win. Clicking OK closes theide the same as it does when double clicking on /usr/bin/theide (or Applications->Programming->TheIDE) the Linux version 2381. Since Ubuntu sees the Win C:\ as /host/... that is where the problem is, I think. When upp is installed with the .tar.gz, make/make install it runs fine.
nlneilson wrote on Tue, 11 May 2010 03:45 I will delete the make,make install version and in Synaptic uninstall upp from there. I will also edit /etc/apt/sources.list and remove the three lines re upp. Please can you try once more, this time also removing the configuration directory? Just type this command in terminal rm -r ~/.upp . You don't even need to go through the full uninstall&install. Deleting the directory should cause the setup dialog to appear on next start. The mechanism in theide checks for files in this directory to determine if there is some previous configuration and launches the setup only when nothing is found. Honza
I have done that about 8 times, I even tried the uninstall/install. I used "rm -r ~/.upp" if the ~ was to be replaced with the path I don't even know that is installed using PPA. I had a glitch, there was an executable theide in /usr/bin, probably from the make install, I used sudo nautilus to get in and delete it. After a Synaptic install of upp a search for "theide" just shows up on /host/.
nlneilson wrote on Tue, 11 May 2010 10:28 I have done that about 8 times, I even tried the uninstall/install. I used "rm -r ~/.upp" if the ~ was to be replaced with the path I don't even know that is installed using PPA. I had a glitch, there was an executable theide in /usr/bin, probably from the make install, I used sudo nautilus to get in and delete it. After a Synaptic install of upp a search for "theide" just shows up on /host/. This is really weird. I almost start to believe that it might be because of wubi... Is there anyone familiar with ubuntu who could test it? I would try myself, but I don't have windows... About the command: "~" is expanded by the shell to your home directory, which usually /home/<username>. The directory .upp is not created when installing the package, but when theide is run for the first time. At this moment, I have absolutely no idea what is wrong or how to find out. I attach a shell script, that will try to install install setup everything, install upp, run theide and output some diagnostics, so I can hopefully get at least some idea what could be wrong... I tried to keep it simple and put comments in, you can have a look Please download it somewhere on our machine and run cd /path/to/script sudo bash -x script.sh &> output.txt You have to substitute /path/to/script with the actual directory where you downloaded the file, but you would probably guessed that First, "sudo" will ask you for a password - that is necessary to install packages. Then it will work for a while and at one moment, it will start theide. If the user setup dialog appears, just click OK to copy the sources and OK again when it finishes to start theide. You can close it as soon as it shows the package selection dialog, so the script can continue. After it finishes, please send me the output.txt file. Honza
Thanks for looking into this. Attached is the output.txt theide never started and no setup box.
I had such a problem with this before and Synaptic remove left so much upp stuff in that was spread all over I uninstalled and re installed Ubuntu 10.04. Not fun as my previous iso cd gave errors and had to burn 5 more to get one that worked. Using HashTab the download md5sum was OK. I downloaded the upp .tar.gz and did the make, worked fine. Before trying your script I moved the upp to a thumb drive: MyApps, upp, upp.out and theide 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? Or at least have theide compiled and the new source that could be downloaded and replace the old?? theide and upp is about 24 MB compressed, that is with theide compiled. Just as an option for those that have problems with or would rather not use PPA.
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
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
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
dolik.rce wrote on Wed, 12 May 2010 21:24 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 However, I'm not even sure how you got a running theide this way - it must have been from your attempts using make... "one simple command" Great idea. Yes, the only way I was able to run theide on Linux was using make.
installation from PPA on "clean" computer
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
Re: installation from PPA on "clean" computer
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
Thanks you for reply! Yes, i can create new repository, but therein i can create only empty project. Is possible to create custom project template?
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
Oh, sorry. I had an error in assembly properties. Correctly have been Package nests: /home/user/MyApps2;/usr/share/upp/uppsrc Only GCC.bm should be copied from tar.gz. All work fine. Many thanks!!!
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
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:~$
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 sudo apt-get install upp 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
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
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
Thanks for the help. Updating seems to be straight forward. I have other computers I will be installing Ubuntu 12.04 on. I will try the PPA and: sudo apt-get install upp
This is on another computer with a new install of Ubuntu 12.04 "E: Unable to locate package upp" ??? 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.a6UiMrZnbd --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 install upp Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package upp
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
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.
nlneilson wrote on Wed, 27 June 2012 23:42 "... I don't know if it installed correctly or where it is at. Finally got it after several tries. I even removed 12.04 and re installed twice. /usr/share/upp/uppsrc/ide/TheIDE This is where it is installed and TheIDE has to be clicked from there to to bring up the config to do the rest of the setup. Most of my time is on Windows and there are probably many others also. I asked where it was installed but did not get an answer on that. Looking at the .sh file there is "/usr/share/upp" so found it that way. Maybe /usr/share/ is where stuff is installed much like on Win it is under "Program Files". I even tried the .sh (.bash) file but it just kicked out, probable at # exit on error set -e or wherever. I did put read -p "end" at the end of the .bash file to see where a problem was but it closed the terminal before it got to the end. Better instruction to install upp would be a big help. or WARNING: Unless you are proficient with the Linux OS you will probably have problems installing upp. Excuse the rant but I have more than 6 hours on installing upp this time. A very good job was done with the ppa setup to update to the latest upp build.
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
Thanks Honza Getting the "step-by-step guide" link fixed will help. dolik.rce wrote on Sun, 24 June 2012 23:58 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. Yes you did mention where the data is installed. But /usr/share/upp/uppsrc/ has ide rather than theide. /usr/bin does have theide. In Win and when using the .sh script the config box comes up. I didn't see the icon on the desktop or any menu until the config was run. Then it was in the side bar, right clicked and locked it there but it is not on the desktop. I found that Synaptics can be installed on 12.04 but is not installed by default. Much of the confusion is mine, I have not used Ubuntu much since installing 11.04 and found out that the ATI driver for the .dds format was not supported. They got that fixed in 12.04
Hi Honza The "step-by-step guide" link has not been fixed yet. The .sh file seemed the easiest. Maybe renaming that to install-upp and have a link to that would help others.
Hi Neil, The new guide is committed now, it should appear on the web tomorrow. Sorry it took so long. The Download pages in french, german and russian are now slightly of sync. Could someone speaking those languages please update it? I just changed the link so it is not broken, but the wording might need to change little bit. Thanks. Honza
Thanks Honza My problem is I usually work with Win OS with upp so even some of the basics in the Linux OS I am not familiar.