ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org
Ask Your Question
0

why do we use the asterisk in sudo apt-get remove ros-*

asked 2019-09-19 00:34:13 -0500

saikaushik gravatar image

we used asterisk in the following command sudo apt-get remove ros-* why do we use this asterisk

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-09-19 01:37:04 -0500

gvdhoorn gravatar image

updated 2019-09-19 01:38:10 -0500

In short: the asterisk tells apt to select all packages that start with ros-. So it selects not a single package, but all packages installed that have a name starting with ros-.

See wikipedia/Regular expression and wikipedia/Glob for more information.

edit flag offensive delete link more

Comments

Thanks for the response

saikaushik gravatar image saikaushik  ( 2019-09-19 01:52:39 -0500 )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

Stats

Asked: 2019-09-19 00:34:13 -0500

Seen: 100 times

Last updated: Sep 19 '19