Results 1 to 9 of 9

Thread: how does command-line works?

  1. #1
    Join Date
    Feb 2013
    Beans
    1

    how does command-line works?

    hi

    i am beginner in ubuntu 12.04 and i dont know how command-line into it works?
    i am trying to install open-cv 2.4.3 in it but i have some problems .

    for example when i have tried to run this code :
    sudo apt-get install libpnglite-dev libpngwriter0-dev libpngwriter0c2

    i received this results :
    Code:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package libpngwriter0-dev
    E: Unable to locate package libpngwriter0c2
    what is the problem?
    i am doing it by following this instruction : opencv.willowgarage.com/wiki/InstallGuide %3A Debian

    Generally i want to know how i can use the command-line?
    how should i run this codes :
    Code:
    cd ~/<my_working _directory> git clone https://github.com/Itseez/opencv.git
    or i cant understand this instruction :


    1. Create a temporary directory, which we denote as <cmake_binary_dir>, where you want to put the generated Makefiles, project files as well the object files and output binaries.
    2. Enter the <cmake_binary_dir> and type
      cmake [<some optional parameters>] <path to the OpenCV source directory>

      For example
      cd ~/opencv mkdir release cd release cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ..
    3. Enter the created temporary directory (<cmake_binary_dir>) and proceed with:
      make sudo make install



    may anyone explain that how i should and what i should write in command line?

    i am very grateful to him
    Last edited by prince0fpersia; February 12th, 2013 at 06:05 AM.

  2. #2
    dino99's Avatar
    dino99 is offline Ubuntu addict and loving it
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: how does command-line works?

    Following external howto can help indeed, but as it concern ubuntu, its better to follow:

    https://help.ubuntu.com/community/OpenCV

  3. #3
    Join Date
    Sep 2012
    Location
    Gnome12o4/LXDE14o4
    Beans
    Hidden!

    Re: how does command-line works?

    E: Unable to locate package libpngwriter0-dev E: Unable to locate package libpngwriter0c2

    They simply don't exist.

    Is this homework?
    Click on NewDocs PopularPages -- Ubuntu Documentation Search Tool
    Earn extra beans, report SPAM. Use the "Report Post" button.

  4. #4
    dino99's Avatar
    dino99 is offline Ubuntu addict and loving it
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: how does command-line works?

    Quote Originally Posted by ibjsb4 View Post
    E: Unable to locate package libpngwriter0-dev E: Unable to locate package libpngwriter0c2

    They simply don't exist.

    Is this homework?
    http://packages.ubuntu.com/en/lucid/libpngwriter0-dev
    Last edited by dino99; February 12th, 2013 at 03:26 PM.

  5. #5
    Join Date
    Sep 2012
    Location
    Gnome12o4/LXDE14o4
    Beans
    Hidden!

    Re: how does command-line works?

    Quote Originally Posted by dino99 View Post
    you might want to open your own thread instead spamming someone else

    http://packages.ubuntu.com/fr/lucid/libpngwriter0-dev
    Did you read post #1?

    And your link points to Hardy 8.04, thats not much help
    Click on NewDocs PopularPages -- Ubuntu Documentation Search Tool
    Earn extra beans, report SPAM. Use the "Report Post" button.

  6. #6
    dino99's Avatar
    dino99 is offline Ubuntu addict and loving it
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: how does command-line works?

    Quote Originally Posted by ibjsb4 View Post
    Did you read post #1?

    And your link points to Hardy 8.04, thats not much help
    sometimes i read too quickly, my bad

    but if yourself pay attention, that link point to LUCID
    (that package does not exist on more recent ubuntu release, but should probably work)

    can be downloaded from here too:
    https://launchpad.net/ubuntu/+source/pngwriter
    Last edited by dino99; February 12th, 2013 at 03:40 PM.

  7. #7
    Join Date
    Oct 2011
    Beans
    53

    Re: how does command-line works?

    LOL. dino99. You should receive a Golden Raspberry Award for that comment. XD

  8. #8
    dino99's Avatar
    dino99 is offline Ubuntu addict and loving it
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: how does command-line works?

    Quote Originally Posted by bantuvez View Post
    LOL. dino99. You should receive a Golden Raspberry Award for that comment. XD
    yes i know

    note: that package is only a virtual package

    http://www.debian.org/doc/debian-pol...#s-virtual_pkg

  9. #9
    Join Date
    Sep 2012
    Location
    Gnome12o4/LXDE14o4
    Beans
    Hidden!

    Re: how does command-line works?

    I guess Lucid is a better option for Precise. Time for me to move on
    Click on NewDocs PopularPages -- Ubuntu Documentation Search Tool
    Earn extra beans, report SPAM. Use the "Report Post" button.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •