OSError: [Errno 13] Permission denied












0















I updated cmake from 2.8 to 3.51
I used this:




  1. sudo apt-get remove cmake

  2. sudo apt-get update

  3. sudo apt-get upgrade

  4. sudo apt-get install cmake3


finallly




  1. apt-cache search cmake


but output step 5:



Sorting... Done
Full Text Search... Done
bear/trusty,trusty 1.4-1 amd64
generate compilation database for Clang tooling



cmake/trusty 3.2.2-2~ubuntu14.04.1~ppa1 amd64
cross-platform, open-source make system



cmake-curses-gui/trusty 3.2.2-2~ubuntu14.04.1~ppa1 amd64
curses based user interface for CMake (ccmake)



cmake-data/trusty 3.2.2-2~ubuntu14.04.1~ppa1 all
CMake data files (modules, templates and documentation)



cmake-dbg/trusty 3.2.2-2~ubuntu14.04.1~ppa1 amd64
debugging symbols for CMake



cmake-doc/trusty 3.2.2-2~ubuntu14.04.1~ppa1 all
extended documentation in various formats for CMake



cmake-qt-gui/trusty 3.2.2-2~ubuntu14.04.1~ppa1 amd64
Qt4 based user interface for CMake (cmake-gui)



cmake3/trusty-updates,trusty-security,now 3.5.1-1ubuntu3~14.04.1 amd64 [installed]
cross-platform, open-source make system



cmake3-curses-gui/trusty-updates,trusty-security 3.5.1-1ubuntu3~14.04.1 amd64
curses based user interface for CMake (ccmake)



cmake3-data/trusty-updates,trusty-security,now 3.5.1-1ubuntu3~14.04.1 all [installed,automatic]
CMake data files (modules, templates and documentation)



cmake3-doc/trusty-updates,trusty-security 3.5.1-1ubuntu3~14.04.1 all
extended documentation in various formats for CMake



cmake3-qt-gui/trusty-updates,trusty-security 3.5.1-1ubuntu3~14.04.1 amd64
Qt4 based user interface for CMake (cmake-gui)



fp-utils/trusty,trusty 2.6.2-8 amd64
Free Pascal - utilities dependency package



fp-utils-2.6.2/trusty,trusty 2.6.2-8 amd64
Free Pascal - utilities



icmake/trusty,trusty 7.21.01-1 amd64
Intelligent C-like MAKEr, or the ICce MAKE utility.



icmake-doc/trusty,trusty 7.21.01-1 all
Documentation files for icmake



kdevelop-pg-qt/trusty,trusty 1.0.0-2ubuntu1 amd64
LL(1) parser generator based on Qt



libconsole-bridge-dev/trusty,trusty 0.2.5-2 amd64
console bridge - development files



libconsole-bridge0.2/trusty,trusty,now 0.2.5-2 amd64 [installed,automatic]
console bridge - library



libconsole-bridge0.2-dbg/trusty,trusty 0.2.5-2 amd64
console bridge - debugging symbols



libdlrestrictions-dev/trusty,trusty 0.15.12ubuntu1 amd64
development files for the DLRestrictions library



libghc-highlighting-kate-dev/trusty,trusty 0.5.5.1-1build2 amd64
syntax highlighting library based on Kate syntax descriptions



libghc-highlighting-kate-doc/trusty,trusty 0.5.5.1-1build2 all
library documentation for highlighting-kate; documentation



libghc-highlighting-kate-prof/trusty,trusty 0.5.5.1-1build2 amd64
highlighting-kate library with profiling enabled; profiling libraries



libkfilemetadata-dev/trusty-updates,trusty-security 4:4.13.3-0ubuntu0.2 amd64
library for extracting file metadata -- development files



libktorrent-dev/trusty,trusty 1.3.1-3ubuntu1 amd64
development files for the KTorrent Library



libresample1/trusty,trusty 0.1.3-4 amd64
real-time audio resampling library - shared libraries



libresample1-dev/trusty,trusty 0.1.3-4 amd64
real-time audio resampling library - development files



libsdformat-dev/trusty-updates 1.4.11-1ubuntu0.1 amd64
Simulation Description Format (SDF) parser - Development files



liburdfdom-dev/trusty,trusty 0.2.10+dfsg-1 amd64
URDF DOM - development files



libwibble-dev/trusty,trusty 1.1-1 amd64
Library of various useful C++ code



plasma-widget-makestatus/trusty,trusty 0.0.1-0ubuntu2 amd64
Plasma widget that shows the status of CMake builds



python-catkin-lint/trusty 1.5.2-1~14.04 all
Check catkin packages for common errors



python-catkin-sphinx/trusty 0.2.2-1 all
Sphinx extension for Catkin projects



python3-catkin-lint/trusty 1.5.2-1~14.04 all
Check catkin packages for common errors



python3-catkin-sphinx/trusty 0.2.2-1 all
Sphinx extension for Catkin projects



qtcreator-plugin-cmake/trusty,trusty 3.0.1+14.04.20140415-0ubuntu1 amd64
CMake plugin for Qt Creator IDE



qtcreator-plugin-cmake-dev/trusty,trusty 3.0.1+14.04.20140415-0ubuntu1 amd64
Qt Creator cmake plugin development files



qtcreator-plugin-valgrind-dev/trusty,trusty 3.0.1+14.04.20140410.1-0ubuntu1 amd64
Qt Creator valgrind plugin development files



ros-indigo-cmake-modules/trusty 0.3.3-0trusty-20160321-180456-0700 amd64
A common repository for CMake Modules which are not distributed with CMake but are commonly used by ROS packages.



ros-indigo-cmake-nodejs-hook/trusty 0.0.2-0trusty-20160321-181117-0700 amd64
Cmake macros to invoke npm update



ros-indigo-dr-cmake/trusty 1.0.0-0trusty-20160427-080128-0700 amd64
Some CMake utilities for DR.



ros-indigo-ecl-build/trusty,now 0.61.6-0trusty-20170205-103108-0800 amd64 [installed,automatic]
Collection of cmake/make build tools primarily for ecl development itself, but also contains a few cmake modules useful outside of the ecl.



ros-indigo-grasp-planning-graspit/trusty 1.2.0-0trusty-20180517-024217-0800 amd64
The grasp_planning_graspit package This package.xml file is only required if the source is to be built with catkin.



ros-indigo-mk/trusty 1.11.14-0trusty-20170313-063251-0700 amd64
A collection of .mk include files for building ROS architectural elements.



ros-indigo-qt-build/trusty 0.2.9-0trusty-20160321-181658-0700 amd64
Currently just maintains a cmake api for simplifying the building of qt apps within the ros framework.



ros-indigo-qt-ros/trusty 0.2.9-0trusty-20170313-091622-0700 amd64
Simple qt cmake build tools and master-chooser style application template.



ros-indigo-rosbuild/trusty 1.11.14-0trusty-20170313-061126-0700 amd64
rosbuild contains scripts for managing the CMake-based build system for ROS.



ros-indigo-roslint/trusty 0.10.0-0trusty-20160321-181134-0700 amd64
CMake lint commands for ROS packages. The lint commands perform static checking of Python or C++ source code for errors and standards compliance.



ros-indigo-rtt-roscomm/trusty 2.8.6-0trusty-20171116-062627-0800 amd64
rtt_roscomm provides the necessary template files and cmake macros for automatic rtt typekit and transport generation from ROS msg files



ros-jade-cmake-modules/trusty 0.4.1-0trusty-20170310-224026-0800 amd64
A common repository for CMake Modules which are not distributed with CMake but are commonly used by ROS packages.



ros-jade-ecl-build/trusty 0.61.1-0trusty-20170310-223317-0800 amd64
Collection of cmake/make build tools primarily for ecl development itself, but also contains a few cmake modules useful outside of the ecl.



ros-jade-mk/trusty 1.12.8-0trusty-20170613-235046-0800 amd64
A collection of .mk include files for building ROS architectural elements.



ros-jade-rosbuild/trusty 1.12.8-0trusty-20170613-231838-0800 amd64
rosbuild contains scripts for managing the CMake-based build system for ROS.



ros-jade-roslint/trusty 0.10.0-0trusty-20170310-214347-0800 amd64
CMake lint commands for ROS packages. The lint commands perform static checking of Python or C++ source code for errors and standards compliance.



ros-jade-rtt-roscomm/trusty 2.8.5-0trusty-20170614-003447-0800 amd64
rtt_roscomm provides the necessary template files and cmake macros for automatic rtt typekit and transport generation from ROS msg files



xutils-dev/trusty,trusty 1:7.7~1ubuntu6 amd64
X Window System utility programs for development



also, another problem: output to



cmake --version


Traceback (most recent call last):



File "/usr/local/bin/cmake", line 11, in
load_entry_point('cmake==3.13.3', 'console_scripts', 'cmake')()
File "/usr/local/lib/python2.7/dist-packages/cmake-3.13.3-py2.7-linux-x86_64.egg/cmake/init.py", line 34, in cmake
raise SystemExit(_program('cmake', sys.argv[1:]))
File "/usr/local/lib/python2.7/dist-packages/cmake-3.13.3-py2.7-linux-x86_64.egg/cmake/init.py", line 30, in _program
return subprocess.call([os.path.join(CMAKE_BIN_DIR, name)] + args)
File "/usr/lib/python2.7/subprocess.py", line 522, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/python2.7/subprocess.py", line 710, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 13] Permission denied



my system:



ubuntu 14.04



please help me



thank you in advance!










share|improve this question



























    0















    I updated cmake from 2.8 to 3.51
    I used this:




    1. sudo apt-get remove cmake

    2. sudo apt-get update

    3. sudo apt-get upgrade

    4. sudo apt-get install cmake3


    finallly




    1. apt-cache search cmake


    but output step 5:



    Sorting... Done
    Full Text Search... Done
    bear/trusty,trusty 1.4-1 amd64
    generate compilation database for Clang tooling



    cmake/trusty 3.2.2-2~ubuntu14.04.1~ppa1 amd64
    cross-platform, open-source make system



    cmake-curses-gui/trusty 3.2.2-2~ubuntu14.04.1~ppa1 amd64
    curses based user interface for CMake (ccmake)



    cmake-data/trusty 3.2.2-2~ubuntu14.04.1~ppa1 all
    CMake data files (modules, templates and documentation)



    cmake-dbg/trusty 3.2.2-2~ubuntu14.04.1~ppa1 amd64
    debugging symbols for CMake



    cmake-doc/trusty 3.2.2-2~ubuntu14.04.1~ppa1 all
    extended documentation in various formats for CMake



    cmake-qt-gui/trusty 3.2.2-2~ubuntu14.04.1~ppa1 amd64
    Qt4 based user interface for CMake (cmake-gui)



    cmake3/trusty-updates,trusty-security,now 3.5.1-1ubuntu3~14.04.1 amd64 [installed]
    cross-platform, open-source make system



    cmake3-curses-gui/trusty-updates,trusty-security 3.5.1-1ubuntu3~14.04.1 amd64
    curses based user interface for CMake (ccmake)



    cmake3-data/trusty-updates,trusty-security,now 3.5.1-1ubuntu3~14.04.1 all [installed,automatic]
    CMake data files (modules, templates and documentation)



    cmake3-doc/trusty-updates,trusty-security 3.5.1-1ubuntu3~14.04.1 all
    extended documentation in various formats for CMake



    cmake3-qt-gui/trusty-updates,trusty-security 3.5.1-1ubuntu3~14.04.1 amd64
    Qt4 based user interface for CMake (cmake-gui)



    fp-utils/trusty,trusty 2.6.2-8 amd64
    Free Pascal - utilities dependency package



    fp-utils-2.6.2/trusty,trusty 2.6.2-8 amd64
    Free Pascal - utilities



    icmake/trusty,trusty 7.21.01-1 amd64
    Intelligent C-like MAKEr, or the ICce MAKE utility.



    icmake-doc/trusty,trusty 7.21.01-1 all
    Documentation files for icmake



    kdevelop-pg-qt/trusty,trusty 1.0.0-2ubuntu1 amd64
    LL(1) parser generator based on Qt



    libconsole-bridge-dev/trusty,trusty 0.2.5-2 amd64
    console bridge - development files



    libconsole-bridge0.2/trusty,trusty,now 0.2.5-2 amd64 [installed,automatic]
    console bridge - library



    libconsole-bridge0.2-dbg/trusty,trusty 0.2.5-2 amd64
    console bridge - debugging symbols



    libdlrestrictions-dev/trusty,trusty 0.15.12ubuntu1 amd64
    development files for the DLRestrictions library



    libghc-highlighting-kate-dev/trusty,trusty 0.5.5.1-1build2 amd64
    syntax highlighting library based on Kate syntax descriptions



    libghc-highlighting-kate-doc/trusty,trusty 0.5.5.1-1build2 all
    library documentation for highlighting-kate; documentation



    libghc-highlighting-kate-prof/trusty,trusty 0.5.5.1-1build2 amd64
    highlighting-kate library with profiling enabled; profiling libraries



    libkfilemetadata-dev/trusty-updates,trusty-security 4:4.13.3-0ubuntu0.2 amd64
    library for extracting file metadata -- development files



    libktorrent-dev/trusty,trusty 1.3.1-3ubuntu1 amd64
    development files for the KTorrent Library



    libresample1/trusty,trusty 0.1.3-4 amd64
    real-time audio resampling library - shared libraries



    libresample1-dev/trusty,trusty 0.1.3-4 amd64
    real-time audio resampling library - development files



    libsdformat-dev/trusty-updates 1.4.11-1ubuntu0.1 amd64
    Simulation Description Format (SDF) parser - Development files



    liburdfdom-dev/trusty,trusty 0.2.10+dfsg-1 amd64
    URDF DOM - development files



    libwibble-dev/trusty,trusty 1.1-1 amd64
    Library of various useful C++ code



    plasma-widget-makestatus/trusty,trusty 0.0.1-0ubuntu2 amd64
    Plasma widget that shows the status of CMake builds



    python-catkin-lint/trusty 1.5.2-1~14.04 all
    Check catkin packages for common errors



    python-catkin-sphinx/trusty 0.2.2-1 all
    Sphinx extension for Catkin projects



    python3-catkin-lint/trusty 1.5.2-1~14.04 all
    Check catkin packages for common errors



    python3-catkin-sphinx/trusty 0.2.2-1 all
    Sphinx extension for Catkin projects



    qtcreator-plugin-cmake/trusty,trusty 3.0.1+14.04.20140415-0ubuntu1 amd64
    CMake plugin for Qt Creator IDE



    qtcreator-plugin-cmake-dev/trusty,trusty 3.0.1+14.04.20140415-0ubuntu1 amd64
    Qt Creator cmake plugin development files



    qtcreator-plugin-valgrind-dev/trusty,trusty 3.0.1+14.04.20140410.1-0ubuntu1 amd64
    Qt Creator valgrind plugin development files



    ros-indigo-cmake-modules/trusty 0.3.3-0trusty-20160321-180456-0700 amd64
    A common repository for CMake Modules which are not distributed with CMake but are commonly used by ROS packages.



    ros-indigo-cmake-nodejs-hook/trusty 0.0.2-0trusty-20160321-181117-0700 amd64
    Cmake macros to invoke npm update



    ros-indigo-dr-cmake/trusty 1.0.0-0trusty-20160427-080128-0700 amd64
    Some CMake utilities for DR.



    ros-indigo-ecl-build/trusty,now 0.61.6-0trusty-20170205-103108-0800 amd64 [installed,automatic]
    Collection of cmake/make build tools primarily for ecl development itself, but also contains a few cmake modules useful outside of the ecl.



    ros-indigo-grasp-planning-graspit/trusty 1.2.0-0trusty-20180517-024217-0800 amd64
    The grasp_planning_graspit package This package.xml file is only required if the source is to be built with catkin.



    ros-indigo-mk/trusty 1.11.14-0trusty-20170313-063251-0700 amd64
    A collection of .mk include files for building ROS architectural elements.



    ros-indigo-qt-build/trusty 0.2.9-0trusty-20160321-181658-0700 amd64
    Currently just maintains a cmake api for simplifying the building of qt apps within the ros framework.



    ros-indigo-qt-ros/trusty 0.2.9-0trusty-20170313-091622-0700 amd64
    Simple qt cmake build tools and master-chooser style application template.



    ros-indigo-rosbuild/trusty 1.11.14-0trusty-20170313-061126-0700 amd64
    rosbuild contains scripts for managing the CMake-based build system for ROS.



    ros-indigo-roslint/trusty 0.10.0-0trusty-20160321-181134-0700 amd64
    CMake lint commands for ROS packages. The lint commands perform static checking of Python or C++ source code for errors and standards compliance.



    ros-indigo-rtt-roscomm/trusty 2.8.6-0trusty-20171116-062627-0800 amd64
    rtt_roscomm provides the necessary template files and cmake macros for automatic rtt typekit and transport generation from ROS msg files



    ros-jade-cmake-modules/trusty 0.4.1-0trusty-20170310-224026-0800 amd64
    A common repository for CMake Modules which are not distributed with CMake but are commonly used by ROS packages.



    ros-jade-ecl-build/trusty 0.61.1-0trusty-20170310-223317-0800 amd64
    Collection of cmake/make build tools primarily for ecl development itself, but also contains a few cmake modules useful outside of the ecl.



    ros-jade-mk/trusty 1.12.8-0trusty-20170613-235046-0800 amd64
    A collection of .mk include files for building ROS architectural elements.



    ros-jade-rosbuild/trusty 1.12.8-0trusty-20170613-231838-0800 amd64
    rosbuild contains scripts for managing the CMake-based build system for ROS.



    ros-jade-roslint/trusty 0.10.0-0trusty-20170310-214347-0800 amd64
    CMake lint commands for ROS packages. The lint commands perform static checking of Python or C++ source code for errors and standards compliance.



    ros-jade-rtt-roscomm/trusty 2.8.5-0trusty-20170614-003447-0800 amd64
    rtt_roscomm provides the necessary template files and cmake macros for automatic rtt typekit and transport generation from ROS msg files



    xutils-dev/trusty,trusty 1:7.7~1ubuntu6 amd64
    X Window System utility programs for development



    also, another problem: output to



    cmake --version


    Traceback (most recent call last):



    File "/usr/local/bin/cmake", line 11, in
    load_entry_point('cmake==3.13.3', 'console_scripts', 'cmake')()
    File "/usr/local/lib/python2.7/dist-packages/cmake-3.13.3-py2.7-linux-x86_64.egg/cmake/init.py", line 34, in cmake
    raise SystemExit(_program('cmake', sys.argv[1:]))
    File "/usr/local/lib/python2.7/dist-packages/cmake-3.13.3-py2.7-linux-x86_64.egg/cmake/init.py", line 30, in _program
    return subprocess.call([os.path.join(CMAKE_BIN_DIR, name)] + args)
    File "/usr/lib/python2.7/subprocess.py", line 522, in call
    return Popen(*popenargs, **kwargs).wait()
    File "/usr/lib/python2.7/subprocess.py", line 710, in init
    errread, errwrite)
    File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
    OSError: [Errno 13] Permission denied



    my system:



    ubuntu 14.04



    please help me



    thank you in advance!










    share|improve this question

























      0












      0








      0








      I updated cmake from 2.8 to 3.51
      I used this:




      1. sudo apt-get remove cmake

      2. sudo apt-get update

      3. sudo apt-get upgrade

      4. sudo apt-get install cmake3


      finallly




      1. apt-cache search cmake


      but output step 5:



      Sorting... Done
      Full Text Search... Done
      bear/trusty,trusty 1.4-1 amd64
      generate compilation database for Clang tooling



      cmake/trusty 3.2.2-2~ubuntu14.04.1~ppa1 amd64
      cross-platform, open-source make system



      cmake-curses-gui/trusty 3.2.2-2~ubuntu14.04.1~ppa1 amd64
      curses based user interface for CMake (ccmake)



      cmake-data/trusty 3.2.2-2~ubuntu14.04.1~ppa1 all
      CMake data files (modules, templates and documentation)



      cmake-dbg/trusty 3.2.2-2~ubuntu14.04.1~ppa1 amd64
      debugging symbols for CMake



      cmake-doc/trusty 3.2.2-2~ubuntu14.04.1~ppa1 all
      extended documentation in various formats for CMake



      cmake-qt-gui/trusty 3.2.2-2~ubuntu14.04.1~ppa1 amd64
      Qt4 based user interface for CMake (cmake-gui)



      cmake3/trusty-updates,trusty-security,now 3.5.1-1ubuntu3~14.04.1 amd64 [installed]
      cross-platform, open-source make system



      cmake3-curses-gui/trusty-updates,trusty-security 3.5.1-1ubuntu3~14.04.1 amd64
      curses based user interface for CMake (ccmake)



      cmake3-data/trusty-updates,trusty-security,now 3.5.1-1ubuntu3~14.04.1 all [installed,automatic]
      CMake data files (modules, templates and documentation)



      cmake3-doc/trusty-updates,trusty-security 3.5.1-1ubuntu3~14.04.1 all
      extended documentation in various formats for CMake



      cmake3-qt-gui/trusty-updates,trusty-security 3.5.1-1ubuntu3~14.04.1 amd64
      Qt4 based user interface for CMake (cmake-gui)



      fp-utils/trusty,trusty 2.6.2-8 amd64
      Free Pascal - utilities dependency package



      fp-utils-2.6.2/trusty,trusty 2.6.2-8 amd64
      Free Pascal - utilities



      icmake/trusty,trusty 7.21.01-1 amd64
      Intelligent C-like MAKEr, or the ICce MAKE utility.



      icmake-doc/trusty,trusty 7.21.01-1 all
      Documentation files for icmake



      kdevelop-pg-qt/trusty,trusty 1.0.0-2ubuntu1 amd64
      LL(1) parser generator based on Qt



      libconsole-bridge-dev/trusty,trusty 0.2.5-2 amd64
      console bridge - development files



      libconsole-bridge0.2/trusty,trusty,now 0.2.5-2 amd64 [installed,automatic]
      console bridge - library



      libconsole-bridge0.2-dbg/trusty,trusty 0.2.5-2 amd64
      console bridge - debugging symbols



      libdlrestrictions-dev/trusty,trusty 0.15.12ubuntu1 amd64
      development files for the DLRestrictions library



      libghc-highlighting-kate-dev/trusty,trusty 0.5.5.1-1build2 amd64
      syntax highlighting library based on Kate syntax descriptions



      libghc-highlighting-kate-doc/trusty,trusty 0.5.5.1-1build2 all
      library documentation for highlighting-kate; documentation



      libghc-highlighting-kate-prof/trusty,trusty 0.5.5.1-1build2 amd64
      highlighting-kate library with profiling enabled; profiling libraries



      libkfilemetadata-dev/trusty-updates,trusty-security 4:4.13.3-0ubuntu0.2 amd64
      library for extracting file metadata -- development files



      libktorrent-dev/trusty,trusty 1.3.1-3ubuntu1 amd64
      development files for the KTorrent Library



      libresample1/trusty,trusty 0.1.3-4 amd64
      real-time audio resampling library - shared libraries



      libresample1-dev/trusty,trusty 0.1.3-4 amd64
      real-time audio resampling library - development files



      libsdformat-dev/trusty-updates 1.4.11-1ubuntu0.1 amd64
      Simulation Description Format (SDF) parser - Development files



      liburdfdom-dev/trusty,trusty 0.2.10+dfsg-1 amd64
      URDF DOM - development files



      libwibble-dev/trusty,trusty 1.1-1 amd64
      Library of various useful C++ code



      plasma-widget-makestatus/trusty,trusty 0.0.1-0ubuntu2 amd64
      Plasma widget that shows the status of CMake builds



      python-catkin-lint/trusty 1.5.2-1~14.04 all
      Check catkin packages for common errors



      python-catkin-sphinx/trusty 0.2.2-1 all
      Sphinx extension for Catkin projects



      python3-catkin-lint/trusty 1.5.2-1~14.04 all
      Check catkin packages for common errors



      python3-catkin-sphinx/trusty 0.2.2-1 all
      Sphinx extension for Catkin projects



      qtcreator-plugin-cmake/trusty,trusty 3.0.1+14.04.20140415-0ubuntu1 amd64
      CMake plugin for Qt Creator IDE



      qtcreator-plugin-cmake-dev/trusty,trusty 3.0.1+14.04.20140415-0ubuntu1 amd64
      Qt Creator cmake plugin development files



      qtcreator-plugin-valgrind-dev/trusty,trusty 3.0.1+14.04.20140410.1-0ubuntu1 amd64
      Qt Creator valgrind plugin development files



      ros-indigo-cmake-modules/trusty 0.3.3-0trusty-20160321-180456-0700 amd64
      A common repository for CMake Modules which are not distributed with CMake but are commonly used by ROS packages.



      ros-indigo-cmake-nodejs-hook/trusty 0.0.2-0trusty-20160321-181117-0700 amd64
      Cmake macros to invoke npm update



      ros-indigo-dr-cmake/trusty 1.0.0-0trusty-20160427-080128-0700 amd64
      Some CMake utilities for DR.



      ros-indigo-ecl-build/trusty,now 0.61.6-0trusty-20170205-103108-0800 amd64 [installed,automatic]
      Collection of cmake/make build tools primarily for ecl development itself, but also contains a few cmake modules useful outside of the ecl.



      ros-indigo-grasp-planning-graspit/trusty 1.2.0-0trusty-20180517-024217-0800 amd64
      The grasp_planning_graspit package This package.xml file is only required if the source is to be built with catkin.



      ros-indigo-mk/trusty 1.11.14-0trusty-20170313-063251-0700 amd64
      A collection of .mk include files for building ROS architectural elements.



      ros-indigo-qt-build/trusty 0.2.9-0trusty-20160321-181658-0700 amd64
      Currently just maintains a cmake api for simplifying the building of qt apps within the ros framework.



      ros-indigo-qt-ros/trusty 0.2.9-0trusty-20170313-091622-0700 amd64
      Simple qt cmake build tools and master-chooser style application template.



      ros-indigo-rosbuild/trusty 1.11.14-0trusty-20170313-061126-0700 amd64
      rosbuild contains scripts for managing the CMake-based build system for ROS.



      ros-indigo-roslint/trusty 0.10.0-0trusty-20160321-181134-0700 amd64
      CMake lint commands for ROS packages. The lint commands perform static checking of Python or C++ source code for errors and standards compliance.



      ros-indigo-rtt-roscomm/trusty 2.8.6-0trusty-20171116-062627-0800 amd64
      rtt_roscomm provides the necessary template files and cmake macros for automatic rtt typekit and transport generation from ROS msg files



      ros-jade-cmake-modules/trusty 0.4.1-0trusty-20170310-224026-0800 amd64
      A common repository for CMake Modules which are not distributed with CMake but are commonly used by ROS packages.



      ros-jade-ecl-build/trusty 0.61.1-0trusty-20170310-223317-0800 amd64
      Collection of cmake/make build tools primarily for ecl development itself, but also contains a few cmake modules useful outside of the ecl.



      ros-jade-mk/trusty 1.12.8-0trusty-20170613-235046-0800 amd64
      A collection of .mk include files for building ROS architectural elements.



      ros-jade-rosbuild/trusty 1.12.8-0trusty-20170613-231838-0800 amd64
      rosbuild contains scripts for managing the CMake-based build system for ROS.



      ros-jade-roslint/trusty 0.10.0-0trusty-20170310-214347-0800 amd64
      CMake lint commands for ROS packages. The lint commands perform static checking of Python or C++ source code for errors and standards compliance.



      ros-jade-rtt-roscomm/trusty 2.8.5-0trusty-20170614-003447-0800 amd64
      rtt_roscomm provides the necessary template files and cmake macros for automatic rtt typekit and transport generation from ROS msg files



      xutils-dev/trusty,trusty 1:7.7~1ubuntu6 amd64
      X Window System utility programs for development



      also, another problem: output to



      cmake --version


      Traceback (most recent call last):



      File "/usr/local/bin/cmake", line 11, in
      load_entry_point('cmake==3.13.3', 'console_scripts', 'cmake')()
      File "/usr/local/lib/python2.7/dist-packages/cmake-3.13.3-py2.7-linux-x86_64.egg/cmake/init.py", line 34, in cmake
      raise SystemExit(_program('cmake', sys.argv[1:]))
      File "/usr/local/lib/python2.7/dist-packages/cmake-3.13.3-py2.7-linux-x86_64.egg/cmake/init.py", line 30, in _program
      return subprocess.call([os.path.join(CMAKE_BIN_DIR, name)] + args)
      File "/usr/lib/python2.7/subprocess.py", line 522, in call
      return Popen(*popenargs, **kwargs).wait()
      File "/usr/lib/python2.7/subprocess.py", line 710, in init
      errread, errwrite)
      File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
      raise child_exception
      OSError: [Errno 13] Permission denied



      my system:



      ubuntu 14.04



      please help me



      thank you in advance!










      share|improve this question














      I updated cmake from 2.8 to 3.51
      I used this:




      1. sudo apt-get remove cmake

      2. sudo apt-get update

      3. sudo apt-get upgrade

      4. sudo apt-get install cmake3


      finallly




      1. apt-cache search cmake


      but output step 5:



      Sorting... Done
      Full Text Search... Done
      bear/trusty,trusty 1.4-1 amd64
      generate compilation database for Clang tooling



      cmake/trusty 3.2.2-2~ubuntu14.04.1~ppa1 amd64
      cross-platform, open-source make system



      cmake-curses-gui/trusty 3.2.2-2~ubuntu14.04.1~ppa1 amd64
      curses based user interface for CMake (ccmake)



      cmake-data/trusty 3.2.2-2~ubuntu14.04.1~ppa1 all
      CMake data files (modules, templates and documentation)



      cmake-dbg/trusty 3.2.2-2~ubuntu14.04.1~ppa1 amd64
      debugging symbols for CMake



      cmake-doc/trusty 3.2.2-2~ubuntu14.04.1~ppa1 all
      extended documentation in various formats for CMake



      cmake-qt-gui/trusty 3.2.2-2~ubuntu14.04.1~ppa1 amd64
      Qt4 based user interface for CMake (cmake-gui)



      cmake3/trusty-updates,trusty-security,now 3.5.1-1ubuntu3~14.04.1 amd64 [installed]
      cross-platform, open-source make system



      cmake3-curses-gui/trusty-updates,trusty-security 3.5.1-1ubuntu3~14.04.1 amd64
      curses based user interface for CMake (ccmake)



      cmake3-data/trusty-updates,trusty-security,now 3.5.1-1ubuntu3~14.04.1 all [installed,automatic]
      CMake data files (modules, templates and documentation)



      cmake3-doc/trusty-updates,trusty-security 3.5.1-1ubuntu3~14.04.1 all
      extended documentation in various formats for CMake



      cmake3-qt-gui/trusty-updates,trusty-security 3.5.1-1ubuntu3~14.04.1 amd64
      Qt4 based user interface for CMake (cmake-gui)



      fp-utils/trusty,trusty 2.6.2-8 amd64
      Free Pascal - utilities dependency package



      fp-utils-2.6.2/trusty,trusty 2.6.2-8 amd64
      Free Pascal - utilities



      icmake/trusty,trusty 7.21.01-1 amd64
      Intelligent C-like MAKEr, or the ICce MAKE utility.



      icmake-doc/trusty,trusty 7.21.01-1 all
      Documentation files for icmake



      kdevelop-pg-qt/trusty,trusty 1.0.0-2ubuntu1 amd64
      LL(1) parser generator based on Qt



      libconsole-bridge-dev/trusty,trusty 0.2.5-2 amd64
      console bridge - development files



      libconsole-bridge0.2/trusty,trusty,now 0.2.5-2 amd64 [installed,automatic]
      console bridge - library



      libconsole-bridge0.2-dbg/trusty,trusty 0.2.5-2 amd64
      console bridge - debugging symbols



      libdlrestrictions-dev/trusty,trusty 0.15.12ubuntu1 amd64
      development files for the DLRestrictions library



      libghc-highlighting-kate-dev/trusty,trusty 0.5.5.1-1build2 amd64
      syntax highlighting library based on Kate syntax descriptions



      libghc-highlighting-kate-doc/trusty,trusty 0.5.5.1-1build2 all
      library documentation for highlighting-kate; documentation



      libghc-highlighting-kate-prof/trusty,trusty 0.5.5.1-1build2 amd64
      highlighting-kate library with profiling enabled; profiling libraries



      libkfilemetadata-dev/trusty-updates,trusty-security 4:4.13.3-0ubuntu0.2 amd64
      library for extracting file metadata -- development files



      libktorrent-dev/trusty,trusty 1.3.1-3ubuntu1 amd64
      development files for the KTorrent Library



      libresample1/trusty,trusty 0.1.3-4 amd64
      real-time audio resampling library - shared libraries



      libresample1-dev/trusty,trusty 0.1.3-4 amd64
      real-time audio resampling library - development files



      libsdformat-dev/trusty-updates 1.4.11-1ubuntu0.1 amd64
      Simulation Description Format (SDF) parser - Development files



      liburdfdom-dev/trusty,trusty 0.2.10+dfsg-1 amd64
      URDF DOM - development files



      libwibble-dev/trusty,trusty 1.1-1 amd64
      Library of various useful C++ code



      plasma-widget-makestatus/trusty,trusty 0.0.1-0ubuntu2 amd64
      Plasma widget that shows the status of CMake builds



      python-catkin-lint/trusty 1.5.2-1~14.04 all
      Check catkin packages for common errors



      python-catkin-sphinx/trusty 0.2.2-1 all
      Sphinx extension for Catkin projects



      python3-catkin-lint/trusty 1.5.2-1~14.04 all
      Check catkin packages for common errors



      python3-catkin-sphinx/trusty 0.2.2-1 all
      Sphinx extension for Catkin projects



      qtcreator-plugin-cmake/trusty,trusty 3.0.1+14.04.20140415-0ubuntu1 amd64
      CMake plugin for Qt Creator IDE



      qtcreator-plugin-cmake-dev/trusty,trusty 3.0.1+14.04.20140415-0ubuntu1 amd64
      Qt Creator cmake plugin development files



      qtcreator-plugin-valgrind-dev/trusty,trusty 3.0.1+14.04.20140410.1-0ubuntu1 amd64
      Qt Creator valgrind plugin development files



      ros-indigo-cmake-modules/trusty 0.3.3-0trusty-20160321-180456-0700 amd64
      A common repository for CMake Modules which are not distributed with CMake but are commonly used by ROS packages.



      ros-indigo-cmake-nodejs-hook/trusty 0.0.2-0trusty-20160321-181117-0700 amd64
      Cmake macros to invoke npm update



      ros-indigo-dr-cmake/trusty 1.0.0-0trusty-20160427-080128-0700 amd64
      Some CMake utilities for DR.



      ros-indigo-ecl-build/trusty,now 0.61.6-0trusty-20170205-103108-0800 amd64 [installed,automatic]
      Collection of cmake/make build tools primarily for ecl development itself, but also contains a few cmake modules useful outside of the ecl.



      ros-indigo-grasp-planning-graspit/trusty 1.2.0-0trusty-20180517-024217-0800 amd64
      The grasp_planning_graspit package This package.xml file is only required if the source is to be built with catkin.



      ros-indigo-mk/trusty 1.11.14-0trusty-20170313-063251-0700 amd64
      A collection of .mk include files for building ROS architectural elements.



      ros-indigo-qt-build/trusty 0.2.9-0trusty-20160321-181658-0700 amd64
      Currently just maintains a cmake api for simplifying the building of qt apps within the ros framework.



      ros-indigo-qt-ros/trusty 0.2.9-0trusty-20170313-091622-0700 amd64
      Simple qt cmake build tools and master-chooser style application template.



      ros-indigo-rosbuild/trusty 1.11.14-0trusty-20170313-061126-0700 amd64
      rosbuild contains scripts for managing the CMake-based build system for ROS.



      ros-indigo-roslint/trusty 0.10.0-0trusty-20160321-181134-0700 amd64
      CMake lint commands for ROS packages. The lint commands perform static checking of Python or C++ source code for errors and standards compliance.



      ros-indigo-rtt-roscomm/trusty 2.8.6-0trusty-20171116-062627-0800 amd64
      rtt_roscomm provides the necessary template files and cmake macros for automatic rtt typekit and transport generation from ROS msg files



      ros-jade-cmake-modules/trusty 0.4.1-0trusty-20170310-224026-0800 amd64
      A common repository for CMake Modules which are not distributed with CMake but are commonly used by ROS packages.



      ros-jade-ecl-build/trusty 0.61.1-0trusty-20170310-223317-0800 amd64
      Collection of cmake/make build tools primarily for ecl development itself, but also contains a few cmake modules useful outside of the ecl.



      ros-jade-mk/trusty 1.12.8-0trusty-20170613-235046-0800 amd64
      A collection of .mk include files for building ROS architectural elements.



      ros-jade-rosbuild/trusty 1.12.8-0trusty-20170613-231838-0800 amd64
      rosbuild contains scripts for managing the CMake-based build system for ROS.



      ros-jade-roslint/trusty 0.10.0-0trusty-20170310-214347-0800 amd64
      CMake lint commands for ROS packages. The lint commands perform static checking of Python or C++ source code for errors and standards compliance.



      ros-jade-rtt-roscomm/trusty 2.8.5-0trusty-20170614-003447-0800 amd64
      rtt_roscomm provides the necessary template files and cmake macros for automatic rtt typekit and transport generation from ROS msg files



      xutils-dev/trusty,trusty 1:7.7~1ubuntu6 amd64
      X Window System utility programs for development



      also, another problem: output to



      cmake --version


      Traceback (most recent call last):



      File "/usr/local/bin/cmake", line 11, in
      load_entry_point('cmake==3.13.3', 'console_scripts', 'cmake')()
      File "/usr/local/lib/python2.7/dist-packages/cmake-3.13.3-py2.7-linux-x86_64.egg/cmake/init.py", line 34, in cmake
      raise SystemExit(_program('cmake', sys.argv[1:]))
      File "/usr/local/lib/python2.7/dist-packages/cmake-3.13.3-py2.7-linux-x86_64.egg/cmake/init.py", line 30, in _program
      return subprocess.call([os.path.join(CMAKE_BIN_DIR, name)] + args)
      File "/usr/lib/python2.7/subprocess.py", line 522, in call
      return Popen(*popenargs, **kwargs).wait()
      File "/usr/lib/python2.7/subprocess.py", line 710, in init
      errread, errwrite)
      File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
      raise child_exception
      OSError: [Errno 13] Permission denied



      my system:



      ubuntu 14.04



      please help me



      thank you in advance!







      14.04 cmake






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 30 at 12:22









      Algabri RedhwanAlgabri Redhwan

      11




      11






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1114097%2foserror-errno-13-permission-denied%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1114097%2foserror-errno-13-permission-denied%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          How to change which sound is reproduced for terminal bell?

          Can I use Tabulator js library in my java Spring + Thymeleaf project?

          Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents