Ask Your Question

Difference between aptget and source install

asked 2020-01-20 18:29:32 -0600

tyms0503 gravatar image

What is the difference between the method installed with the Apt get and the method installed through the source? For example, if cross is installed through source, packages must be installed through source.Is there a problem with not being able to install it through the app get or something?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-01-22 05:31:02 -0600

marguedas gravatar image

For the majority of users, installing from apt is best as it keeps the installation simple and the update patch easy (the package manager takes care of the updates).

There are some cases where building from source is required. For example:

  • Using an OS or architecture not officially supported.
  • Contributing to core ROS packages:
    • Modifying a ROS package to fix a bug requires compiling that package from source. In order for all the dependant packages to benefit from the change they will also need to be built from source.
edit flag offensive delete link more


Related: #q320046.

gvdhoorn gravatar image gvdhoorn  ( 2020-01-22 06:31:02 -0600 )edit

Thanks! I was sure such an answer existed but couldn't put the finger on it

marguedas gravatar image marguedas  ( 2020-01-22 06:34:31 -0600 )edit

Well #q320046 doesn't explain the difference between a source install and an apt-based one. It only goes into details on how to determine when something is released and when to consider building from source.

Hence, only related.

gvdhoorn gravatar image gvdhoorn  ( 2020-01-22 06:40:28 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2020-01-20 18:29:32 -0600

Seen: 111 times

Last updated: Jan 22 '20