At the moment NVU is not in universe. If you want to use NVU you need to install it manually.
1. First go to the Nvu homepage and download the tarball with the binary for Linspire in it.
It is made for a different version of debian, but it will work. The name of the tarball is:nvu-0.60-pc-linux2.4.23-gnu.tar.bz2.
Ubuntu PPC:If you are using the PPC version of Ubuntu Linux, you need to download the file nvu-0.60.ppc.tar.gz instead. Downloading the file mentioned above will not work!
buntu PPC:如果你正在使用Ubuntu Linux的PPC版本，那你则需要下载的文件名为nvu-0.60.ppc.tar.gz。下载上面提及的文件将不能正常工作。
If you need a localized version of NVU, download the packages from a special page:
* German: Deutsche Nvu Seite.（德语版）
* French: Traduction Française de Nvu（法语版）
* Italian: Nvu Italia（意大利版）
2. Next you need to extract the contents of the tarball. Start a terminal session. Go to the directory where you saved the tarball and issue the following command:
sudo tar xvfj nvu-0.60-pc-linux2.4.23-gnu.tar.bz2 -C /opt/
Ubuntu PPC:The PPC version of NVU is compressed using Gzip. The command to decompress it is:
sudo tar -xvzf nvu-0.60.ppc.tar.gz -C /opt/
3. NVU needs some extra libraries that are not installed by default, so you will need to enable the universe repository in Synaptic, do a reload and then search for the following package: libstdc++2.10-glibc2.2
Ubuntu PPC:For the PPC version, you need to install libstdc++5 and libstdc++6. There is no such package as libstdc++2.10-glic2.2 on PPC.
Ubuntu PPC:对于PCC版本而言，您要安装 libstdc++5 和 libstdc++6包文件，因为在PCC中并没有libstdc++2.10-glic2.2包文件。
NOTE: There maybe other libraries necessary to make NVU work, I have installed many unofficial packages and therefore have installed many libraries to make things work. When I installed NVU, this was the only library that was missing, but there could be more. If you find out that more are needed, please update this How To.
4. So with NVU installed and (hopefully) dependencies resolved, lets see if it works, type the following command into the command line:
* If there are no dependencies missing, then it should fire up the NVU HTML editor and we can move on to adding this program to your menu.
* 如果没有依赖关系问题，它将启动NVU HTML编辑器，那么我们可以继续下一步，将其移到您的菜单中。
* If it does not start, take note of the missing library, and search Synaptic for it and install it. Repeat the above step until NVU runs.
5. We now have NVU running from the command line, so lets add it to the menu.
6. We are only allowed to add items to second level menu's. So this will explain how to add it to the menu. Since just about everyone has an Internet menu, I will show you how to add it to that menu, the same technique can be used to add it to any of the other menus.
* Click on the Applications menu, then click Internet
* Right Click anywhere in the Internet menu and select Entire menu
* From the Entire Menu select the Add new item to this menu option
* A dialog box should now pop up called Create Launcher
* 弹出名为“ Create Launcher”的对话框
* In the Name field enter NVU HTML Editor
* 在名称文本框中填入 NVU HTML编辑吕
* In the Generic Name field enter nvu
* In the Command field enter
* Click on the No icon area and select an icon from those displayed. You can use the NVU icon by clicking on the choose button. Then use the following path
'/opt/nvu-0.60/icons' and choose 'mozicon50.xpm'.
* Click Ok and then click Ok again and you should now have a new menu item.
This how-to applies to: Any version
Created by Louise McCance-Price
创建者： Louise McCance-Price
Last modified 2005-01-24 11:05 PM
最近修改于 2005-01-24 11:05 PM
Problem with missing library
Posted by 243 at 2004-10-30 09:11 AM
After installing and updating, I still get:
/opt/nvu-0.50/nvu-bin: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory
PS: Missing 'e' in "# If it does not start, take not of the missing library, ..."? Wink
Replies to this comment
RE: Problem With Missing Library (Posted by 2384 at 2004-12-08 05:09 AM)
how to fix missing libstdc++-libc6.1-1.so.2 (Posted by 6361 at 2005-02-04 05:17 PM)
Re:Problem with missing library (Posted by 3792 at 2004-12-25 04:34 PM)
Posted by 93 at 2004-11-14 03:13 AM
Rather than trying to document the trial-and-error process of installing the dependencies, determine the complete list of dependencies using ldd and/or dpkg-shlibdeps and include in this document the list of packages to install.
Posted by 1391 at 2004-11-19 05:42 PM
I have a fairly new install of Ubuntu, and I only needed the libstc++. Thanks for the howto.
test from a clean install?
Posted by 1888 at 2004-11-29 08:17 AM
Is anybody able to test installing Nvu from a clean install of Ubuntu? That would definitely help identify the dependencies.
Any word on when Nvu will be added to ubuntu-universe?
Posted by 3908 at 2004-12-27 03:50 PM
Another solution is to install nvu for "apt-get", looking for repository in apt-get.org of the branch testing. The repositories of gnulinex have nvu in testing and they did not cause problems.
Replies to this comment
Nuv search at apt-get.org (Posted by 1888 at 2005-01-05 05:56 PM)
missing library - clean install, more trouble
Posted by 6046 at 2005-01-14 10:05 PM
I just installed Ubuntu this morning, the first package I installed was Mozilla Thunderbird. The second one I am trying to install is NVU. I followed the instructions in the FAQ, then installed libstdc++2.10-glibc2.2. Now when I try to run the nvu shell script (/opt/nvu-0.70/nvu) all I get is the following:
*** loading the extensions datasource
about 20 or so times, then I get returned to the shell prompt... no nvu.
This is my first attempt at doing something like this. Does anyone have any suggestions?
Replies to this comment
Worked! (Posted by 6366 at 2005-01-19 09:51 AM)
NVU HTML Editor
Posted by 7316 at 2005-01-26 01:28 PM
Just installed version 0.70 of the NVU editor, on a fresh install of Ubuntu.The only library reqired was libstdc++2.10-glic2.2. Enable "universe" and reload the Synaptic package manager before searching for the package. Command at 4. needs to read: sudo/opt/nvu-(version)/nvu, otherwise everything works just great!
Tested on fresh PPC install
Posted by 7664 at 2005-01-31 10:01 AM
I followed these instructions on a fresh installation of Ubuntu, pretty much all went well, as mentioned libstdc++5 and libstdc++6 were all I needed to install.
The only hickup I had was that it unziped as /opt/NVU-0.60/ rather than /opt/nvu-0.6.0/.
NVU in Ubuntu Warty
Posted by 10517 at 2005-02-18 03:11 AM
I installed NVU in Ubuntu warty using the latest NVU .tar.bz from the website. All I added to Ubuntu was the libstdc++2.10-glibc2.2 which I did using apt-get install. Every worked well except that I can't add a menu item in the applications menu panel. everytime i right click on the menu to add, it would just offer to add a current item on the menu to the panel. i don't have the option to add a NEW item. any thoughts?
Posted by 10992 at 2005-02-25 05:50 PM
I am trying to get nvu working on my AMD 64 bit install of Ubuntu. When I try to launch, I get this error:
/opt/nvu-0.81/nvu-bin: error while loading shared libraries: libgtk-x11-2.0.so.0 : cannot open shared object file: No such file or directory
I have "universe" enabled and yet cannot find anything tha matches that. I have all the normal libgtk libraries installed, but can't locate anything with the -x11 paramater. Can someone point me in the right direction?
http://www.ubuntulinux.org/support/docu ... 3307060179