How To Install Inkscape On Linux Centos 7

  1. How to install the development version of Inkscape beside the stable version on Linux
  2. =====================================================================================
  3. Instructions for Ubuntu/Linux Mint chroot environments, tested with Linux Mint 17.2 as main system. Meant for people using Linux and wanting to test the development version without overwriting their own, stable Inkscape version and its configuration files (for example, translators who need to see what the thing they are translating actually does).
  4. Creation and first start
  5. ========================
  6. 1. Open a terminal and allow other users to access your display:
  7. xhost +
  8. 2. Become root on the terminal:
  9. sudo bash
  10. 3. Create a directory for the chroot environment (on a disk which is not mounted with noexec or nodev flags):
  11. mkdir ./inkscape-devel-chroot
  12. 4. Install debootstrap if not yet installed, for Ubuntu/Linux Mint:
  13. apt-get install debootstrap
  14. 5. Enter the new directory you created:
  15. cd ./inkscape-devel-chroot
  16. 6. Create the new environment (in this case, for Ubuntu trusty (14.04)):
  17. debootstrap trusty .
  18. 7. Wait...
  19. 8. Become root of the nested system:
  20. chroot .
  21. 9. Add missing package sources to the sources list in the chroot environment:
  22. echo "deb http://ppa.launchpad.net/inkscape.dev/trunk/ubuntu trusty main" >> /etc/apt/sources.list
  23. 10.Update the package index:
  24. apt-get update
  25. 11.Install Inkscape and some language packages, so you have more than just English available for Inkscape (here for English and German):
  26. apt-get install inkscape-trunk language-pack-en language-pack-de
  27. 12.Answer the questions with 'y'
  28. 13.Generate the locales, so you can use the languages (for English and German):
  29. locale-gen en_US.UTF-8; locale-gen de_DE.UTF-8
  30. 14.Mount the /proc file system, ignore the warning:
  31. mount /proc
  32. 15.(optional) Create another user and become that user inside the chroot environment:
  33. adduser
  34. (enter password, answer questions)
  35. su
  36. 15.Start Inkscape:
  37. inkscape
  38. 16.When finished, leave chroot with:
  39. exit
  40. (do this twice if you changed to normal user in step 15)
  41. Everytime you want to use it
  42. ============================
  43. 1. Open a terminal and allow other users to access your display:
  44. xhost +
  45. 2. Become root on the terminal:
  46. sudo bash
  47. 3. Enter the directory you created for this:
  48. cd /inkscape-devel-chroot
  49. 4. Become root of the nested system:
  50. chroot .
  51. 5. (optional) Become a normal user inside the chroot environment (if you created one in 15. above):
  52. su
  53. 6. Start Inkscape:
  54. inkscape
  55. 7. When finished, leave chroot with:
  56. exit
  57. (do this twice if you changed to normal user in step 6)


Tinggalkan Komentar