Install CodeBlocks, Fetion, and Flash Player in Ubuntu

Source: Internet
Author: User
Tags wxwidgets
Install CodeBlocks, Fetion, and flashplayer1.Codeblocks in Ubuntu. for those who are not used to vim, it is indeed necessary to install a visual C/C ++ editor. I like codeblocks most in the C/C ++ editor in Ubuntu. The current ubuntu version is 10.05, which has the following features... install CodeBlocks, Fetion, and flashplayer in Ubuntu. codeblocks for those who are not used to vim, it is indeed necessary to install a visual C/C ++ editor. I like codeblocks most in the C/C ++ editor in Ubuntu. The current version is 10.05 in ubuntu, which features syntax highlighting, code formatting, and mouse gestures, especially code formatting. 1. install necessary components: sudo apt-get install build-essential tialsudo apt-get install gdb, for example, I installed it in/usr/bin/gdb) 2. install the latest wxWidgets library. to successfully compile Code: Blocks, the wxWidgets library must be installed. For most Linux users, this unique dependency package is not installed. Sudo apt-get updatesudo apt-get install libwxgtk2.8-0 libwxgtk2.8-dev wx2.8-headers wx-common set wxWidgets default version sudo update-alternatives -- config wx-config3, download install the latest CodeBlocks two methods first: select CodeBlocks in the development tool in the software source. it is best to check all the following plug-ins. it may be useful. then click install. Type 2: download the latest package from the codeblocks official website. when you run the Code: Blocks installation, the system will prompt: codeblocks: error while loading shared libraries: libcodeblocks. so.0: cannot open shared object file: No such file or directory. this is because the system does not know the Code: Blocks Library and therefore reports an error. Solution: run sudo vi/tec/ld. so. conf and add "/usr/local/lib" to the last line. save and run sudo ldconfig. If you encounter other problems during installation, you can go to the codeblocks forum to find out. the common problems provide a good solution. Codeblocks in Ubuntu does not automatically add a suffix when creating a file. you must add. cpp or. c to it. Otherwise, the syntax is not highlighted and cannot be compiled. 2. Fetion 1. http://www.libfetion.cn/Linux_demoapp_download.html Download Client 2. install with sudo dpkg-I Desktop/linux_fetion_v0.8.20.8.04_i386.deb, prompting dpkg: dependency problem makes the configuration of linuxlinuxfetion unable to continue: linuxfetion depends on libqt4-core (> = 4.3.2); however: the software package libqt4-core has not been installed ". Linuxfetion depends on the libqt4-gui (> = 4.3.2); however, the package "libqt4-gui" has not been installed ". 3, according to the prompt to execute apt-get install libqt4-core libqt4-gui, there is a prompt that the following software packages have a dependency: libqt4-core: Dependency: libqt4-test (= 4.4.0-4) but it will not be installed with libqt4-gui: Dependency: libqt4-svg (= 4.4.0-4) but it will not be installed with: libqt4-opengl (= 4.4.0-4) but it will not be installed with dependencies: libqt4-assistant (= 4.4.0-4) but it will not be installed 4, continue, execute apt-get install libqt4-core libqt4-gui libqt4-test libqt4-svg libqt4-opengl libqt4-assistant, this is no problem, wait until the prompt configuration is complete, you can find the Linux Fetion in the gnome Application menu. 5. open a terminal and run dpkg-L linuxfetion to check the location where fetion was installed. it was originally in/usr/bin/linux-fetion and then run fetion on the terminal. The prompt "linux-fetion: error while loading shared libraries: libcurl. so.4: cannot open shared object file: No such file or directory6" is displayed. why is it not described in the dependency? Use apt-cache search -- names-only libcurl to find libcurl3-Multi-protocol file transfer library (OpenSSL) 7. use apt-get install libcurl3 to complete the installation, good speed. 3. flashpalyer1. run sudo apt-get install flashplugin-nonfree or sudo apt-get install flashplugin-installer to install the flash plug-in. 2. if the installation is stuck, press CTRL + C to cancel the installation, run sudo dpkg -- configure-a to fix the vulnerability. Because the previous installation was interrupted, the system automatically helped you download the plug-in during the fix, and the plug-in went into an endless loop of failure. The correct method should be like this. when you want to fix it, do not execute sudo dpkg -- configure-a, but execute sudo dpkg-r flashplugin-installer. After the repair is successful, you should download the Flash installation package from the adobeofficial website to manually install the package. remember to select .tar.gz for other Linux. Download the compressed package, decompress it, and copy libflashplayer. so to the plugin directory under your browser installation directory, if you are using the firefox browser, it is/usr/lib/mozilla/plugins; 3. if you are using chromium, it is/usr/lib/chromium-browser/plugins. Copy all files in the pressurized usr folder to the/usr directory. This completes the installation.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.