Giter Club home page Giter Club logo

docs-on-ubuntu's Introduction

Installing-Ubuntu

A step by step guide to install Ubuntu Linux on any computer.
We will see the steps to download and install Ubuntu on a machine.

Ways to install Ubuntu

  1. Through ISO
  2. Through another machine having Ubuntu Linux.

You can follow this YouTube playlist to install Nvidia Cuda, Cudnn and OpenCV with Nvidia Cuda, Cudnn and Qt.

YouTube playlist

  • It will need sudo permission at times so grant that.

  • You will need to add the following to the g++ command when compiling the OpenCV code.

      `pkg-config --libs --cflags opencv`
    
  • Then use CFLAGS for making .o and LDFLAGS for making final executable.

      CFLAGS = `pkg-config --cflags opencv`
      LDFLAGS = `pkg-config --libs opencv`
    

Installing QtCreator in Ubuntu

  • You firstly need to download the RUN file of the installer from the website of Qt.

  • Then you have to give permissions to it with chmod command so you can execute it.

  • And then go with the following commands.

      sudo apt update
      sudo apt-get install build-essential libgl1-mesa-dev mesa-common-dev
    
  • Here, we downloading some essential libraries so we can run Qt.

  • And that's it.

  • You can now use the QtCreator.

Using OpenCV with QtCreator

  • Now, you have add the following to the configuration file(.pro file) for the project.

unix {
	LIBS += `pkg-config --libs opencv`  
	INCLUDEPATH += `pkg-config --cflags opencv`
	DEPENDPATH += `pkg-config --libs opencv`
}

  • NOTE: Makefiles are whitespace sensitive so do not leave white spaces.

docs-on-ubuntu's People

Contributors

hetdaftary avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.